@InterfaceAudience.Private public class CheckpointSignature extends StorageInfo implements Comparable<CheckpointSignature>
clusterID, cTime, layoutVersion, namespaceID| Constructor and Description |
|---|
CheckpointSignature(StorageInfo info,
String blockpoolID,
long mostRecentCheckpointTxId,
long curSegmentTxId) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CheckpointSignature o) |
boolean |
equals(Object o) |
String |
getBlockpoolID()
Get the block pool id from CheckpointSignature
|
String |
getClusterID()
Get the cluster id from CheckpointSignature
|
long |
getCurSegmentTxId() |
long |
getMostRecentCheckpointTxId() |
int |
hashCode() |
void |
setBlockpoolID(String blockpoolID)
Set the block pool id of CheckpointSignature.
|
String |
toString() |
getCTime, getLayoutVersion, getNamespaceID, setStorageInfo, toColonSeparatedString, versionSupportsFederationpublic CheckpointSignature(StorageInfo info, String blockpoolID, long mostRecentCheckpointTxId, long curSegmentTxId)
public String getClusterID()
getClusterID in class StorageInfopublic String getBlockpoolID()
public long getMostRecentCheckpointTxId()
public long getCurSegmentTxId()
public void setBlockpoolID(String blockpoolID)
blockpoolID - the new blockpool idpublic String toString()
toString in class StorageInfopublic int compareTo(CheckpointSignature o)
compareTo in interface Comparable<CheckpointSignature>Copyright © 2013 Apache Software Foundation. All rights reserved.