@InterfaceAudience.Private @InterfaceStability.Evolving public class NamespaceInfo extends StorageInfo
clusterID, cTime, layoutVersion, namespaceID
Constructor and Description |
---|
NamespaceInfo() |
NamespaceInfo(int nsID,
String clusterID,
String bpID,
long cT) |
NamespaceInfo(int nsID,
String clusterID,
String bpID,
long cT,
String buildVersion,
String softwareVersion) |
Modifier and Type | Method and Description |
---|---|
String |
getBlockPoolID() |
String |
getBuildVersion() |
String |
getSoftwareVersion() |
String |
toString() |
void |
validateStorage(NNStorage storage) |
getClusterID, getCTime, getLayoutVersion, getNamespaceID, setStorageInfo, toColonSeparatedString, versionSupportsFederation
public NamespaceInfo()
public NamespaceInfo(int nsID, String clusterID, String bpID, long cT, String buildVersion, String softwareVersion)
public String getBuildVersion()
public String getBlockPoolID()
public String getSoftwareVersion()
public String toString()
toString
in class StorageInfo
public void validateStorage(NNStorage storage) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.