Package thredds.server.catalog.tracker
Class CatalogExt
- java.lang.Object
-
- thredds.server.catalog.tracker.CatalogExt
-
public class CatalogExt extends Object
Persisted catalog info- Since:
- 6/16/2015
-
-
Field Summary
Fields Modifier and Type Field Description static inttotal_countstatic longtotal_nbytes
-
Constructor Summary
Constructors Constructor Description CatalogExt()CatalogExt(long catId, String catRelLocation, boolean isRoot, long lastRead)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetCatId()StringgetCatRelLocation()longgetLastRead()inthashCode()booleanisRoot()voidreadExternal(DataInputStream in)booleansetCatId(long catId)voidwriteExternal(DataOutputStream out)
-
-
-
Constructor Detail
-
CatalogExt
public CatalogExt()
-
CatalogExt
public CatalogExt(long catId, String catRelLocation, boolean isRoot, long lastRead)
-
-
Method Detail
-
getCatRelLocation
public String getCatRelLocation()
-
getCatId
public long getCatId()
-
setCatId
public boolean setCatId(long catId)
-
getLastRead
public long getLastRead()
-
isRoot
public boolean isRoot()
-
writeExternal
public void writeExternal(DataOutputStream out) throws IOException
- Throws:
IOException
-
readExternal
public void readExternal(DataInputStream in) throws IOException
- Throws:
IOException
-
-