|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public interface Replica
This represents block replicas which stored in DataNode.
Method Summary | |
---|---|
long |
getBlockId()
get block ID |
long |
getBytesOnDisk()
Get the number of bytes that have written to disk |
long |
getGenerationStamp()
get generation stamp |
long |
getNumBytes()
Get the number of bytes received |
HdfsConstants.ReplicaState |
getState()
Get the replica state |
long |
getVisibleLength()
Get the number of bytes that are visible to readers |
Method Detail |
---|
long getBlockId()
long getGenerationStamp()
HdfsConstants.ReplicaState getState()
long getNumBytes()
long getBytesOnDisk()
long getVisibleLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |