@InterfaceAudience.Private public class StorageInfo extends Object
Modifier and Type | Field and Description |
---|---|
String |
clusterID |
long |
cTime |
int |
layoutVersion |
int |
namespaceID |
Constructor and Description |
---|
StorageInfo() |
StorageInfo(int layoutV,
int nsID,
String cid,
long cT) |
StorageInfo(StorageInfo from) |
Modifier and Type | Method and Description |
---|---|
String |
getClusterID()
cluster id of the file system.
|
long |
getCTime()
Creation time of the file system state.
|
int |
getLayoutVersion()
Layout version of the storage data.
|
int |
getNamespaceID()
Namespace id of the file system.
|
void |
setStorageInfo(StorageInfo from) |
String |
toColonSeparatedString() |
String |
toString() |
boolean |
versionSupportsFederation() |
public int layoutVersion
public int namespaceID
public String clusterID
public long cTime
public StorageInfo()
public StorageInfo(int layoutV, int nsID, String cid, long cT)
public StorageInfo(StorageInfo from)
public int getLayoutVersion()
public int getNamespaceID()
Assigned to the file system at formatting and never changes after that. Shared by all file system components.
public String getClusterID()
public long getCTime()
Modified during upgrades.
public void setStorageInfo(StorageInfo from)
public boolean versionSupportsFederation()
public String toColonSeparatedString()
Copyright © 2013 Apache Software Foundation. All rights reserved.