ReplicaInPipelineBlockListAsLongs.BlockReportReplica, FinalizedProvidedReplica, FinalizedReplica, LocalReplica, LocalReplicaInPipeline, ProvidedReplica, ReplicaBeingWritten, ReplicaInfo, ReplicaUnderRecovery, ReplicaWaitingToBeRecovered@Private
public interface Replica
| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockId() |
Get the block ID
|
long |
getBytesOnDisk() |
Get the number of bytes that have written to disk
|
long |
getGenerationStamp() |
Get the generation stamp
|
long |
getNumBytes() |
Get the number of bytes received
|
HdfsServerConstants.ReplicaState |
getState() |
Get the replica state
|
java.lang.String |
getStorageUuid() |
Return the storageUuid of the volume that stores this replica.
|
long |
getVisibleLength() |
Get the number of bytes that are visible to readers
|
FsVolumeSpi |
getVolume() |
Get the volume of replica.
|
boolean |
isOnTransientStorage() |
Return true if the target volume is backed by RAM.
|
long getBlockId()
long getGenerationStamp()
HdfsServerConstants.ReplicaState getState()
long getNumBytes()
long getBytesOnDisk()
long getVisibleLength()
java.lang.String getStorageUuid()
boolean isOnTransientStorage()
FsVolumeSpi getVolume()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.