public class DataRootExt extends java.lang.Object implements java.lang.Comparable<DataRootExt>
| Modifier and Type | Field and Description |
|---|---|
static int |
total_count |
static long |
total_nbytes |
| Constructor and Description |
|---|
DataRootExt() |
DataRootExt(DataRoot dataRoot,
java.lang.String catLocation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DataRootExt o) |
static DataRoot.Type |
convertDataRootType(ConfigCatalogExtProto.DataRootType type) |
static ConfigCatalogExtProto.DataRootType |
convertDataRootType(DataRoot.Type type) |
java.lang.String |
getCatLocation() |
DataRoot |
getDataRoot() |
java.lang.String |
getDirLocation() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
java.lang.String |
getRestrict() |
DataRoot.Type |
getType() |
void |
readExternal(java.io.DataInputStream in) |
void |
setDataRoot(DataRoot dataRoot) |
java.lang.String |
toString() |
void |
writeExternal(java.io.DataOutputStream out) |
public DataRootExt()
public DataRootExt(DataRoot dataRoot, java.lang.String catLocation)
public java.lang.String getPath()
public DataRoot getDataRoot()
public void setDataRoot(DataRoot dataRoot)
public java.lang.String getCatLocation()
public java.lang.String getDirLocation()
public DataRoot.Type getType()
public java.lang.String getName()
public java.lang.String getRestrict()
public void writeExternal(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void readExternal(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic static DataRoot.Type convertDataRootType(ConfigCatalogExtProto.DataRootType type)
public static ConfigCatalogExtProto.DataRootType convertDataRootType(DataRoot.Type type)
public int compareTo(DataRootExt o)
compareTo in interface java.lang.Comparable<DataRootExt>public java.lang.String toString()
toString in class java.lang.Object