Package thredds.server.catalog.tracker
Class DataRootExt
- java.lang.Object
-
- thredds.server.catalog.tracker.DataRootExt
-
- All Implemented Interfaces:
Comparable<DataRootExt>
public class DataRootExt extends Object implements Comparable<DataRootExt>
Externalized DataRoot.- Since:
- 6/16/2015
-
-
Field Summary
Fields Modifier and Type Field Description static inttotal_countstatic longtotal_nbytes
-
Constructor Summary
Constructors Constructor Description DataRootExt()DataRootExt(DataRoot dataRoot, String catLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DataRootExt o)static ConfigCatalogExtProto.DataRootTypeconvertDataRootType(DataRoot.Type type)static DataRoot.TypeconvertDataRootType(ConfigCatalogExtProto.DataRootType type)StringgetCatLocation()DataRootgetDataRoot()StringgetDirLocation()StringgetName()StringgetPath()StringgetRestrict()DataRoot.TypegetType()voidreadExternal(DataInputStream in)voidsetDataRoot(DataRoot dataRoot)StringtoString()voidwriteExternal(DataOutputStream out)
-
-
-
Method Detail
-
getPath
public String getPath()
-
getDataRoot
public DataRoot getDataRoot()
-
setDataRoot
public void setDataRoot(DataRoot dataRoot)
-
getCatLocation
public String getCatLocation()
-
getDirLocation
public String getDirLocation()
-
getType
public DataRoot.Type getType()
-
getName
public String getName()
-
getRestrict
public String getRestrict()
-
writeExternal
public void writeExternal(DataOutputStream out) throws IOException
- Throws:
IOException
-
readExternal
public void readExternal(DataInputStream in) throws IOException
- Throws:
IOException
-
convertDataRootType
public static DataRoot.Type convertDataRootType(ConfigCatalogExtProto.DataRootType type)
-
convertDataRootType
public static ConfigCatalogExtProto.DataRootType convertDataRootType(DataRoot.Type type)
-
compareTo
public int compareTo(DataRootExt o)
- Specified by:
compareToin interfaceComparable<DataRootExt>
-
-