Constructor and Description |
---|
BlockManagerInfo(BlockManagerId blockManagerId,
long timeMs,
long maxMem,
akka.actor.ActorRef slaveActor) |
Modifier and Type | Method and Description |
---|---|
BlockManagerId |
blockManagerId() |
java.util.HashMap<BlockId,BlockStatus> |
blocks() |
void |
clear() |
scala.Option<BlockStatus> |
getStatus(BlockId blockId) |
long |
lastSeenMs() |
long |
maxMem() |
long |
remainingMem() |
void |
removeBlock(BlockId blockId) |
akka.actor.ActorRef |
slaveActor() |
String |
toString() |
void |
updateBlockInfo(BlockId blockId,
StorageLevel storageLevel,
long memSize,
long diskSize,
long tachyonSize) |
void |
updateLastSeenMs() |
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public BlockManagerInfo(BlockManagerId blockManagerId, long timeMs, long maxMem, akka.actor.ActorRef slaveActor)
public BlockManagerId blockManagerId()
public long maxMem()
public akka.actor.ActorRef slaveActor()
public scala.Option<BlockStatus> getStatus(BlockId blockId)
public void updateLastSeenMs()
public void updateBlockInfo(BlockId blockId, StorageLevel storageLevel, long memSize, long diskSize, long tachyonSize)
public void removeBlock(BlockId blockId)
public long remainingMem()
public long lastSeenMs()
public java.util.HashMap<BlockId,BlockStatus> blocks()
public String toString()
toString
in class Object
public void clear()