public class BlockInfo
extends Object
Constructor and Description |
---|
BlockInfo(StorageLevel level,
boolean tellMaster) |
Modifier and Type | Method and Description |
---|---|
StorageLevel |
level() |
void |
markFailure()
Mark this BlockInfo as ready but failed
|
void |
markReady(long sizeInBytes)
Mark this BlockInfo as ready (i.e.
|
long |
size() |
boolean |
tellMaster() |
boolean |
waitForReady()
Wait for this BlockInfo to be marked as ready (i.e.
|
public BlockInfo(StorageLevel level, boolean tellMaster)
public StorageLevel level()
public boolean tellMaster()
public long size()
public boolean waitForReady()
public void markReady(long sizeInBytes)
public void markFailure()