Package com.metsci.glimpse.topo.io
Class TopoCache
- java.lang.Object
-
- com.metsci.glimpse.topo.io.TopoCache
-
public class TopoCache extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
topoCacheFormatVersion
static com.google.common.hash.HashFunction
topoConfigHashFn
We're not trying to protect against deliberate collisions, and we don't need anything super fast -- but ubiquity and stability over time are important.
-
Constructor Summary
Constructors Constructor Description TopoCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TopoDataset
topoCacheDataset(TopoDataFile baseLevel)
static TopoDataset
topoCacheDataset(TopoDataFile baseLevel, File cacheParentDir)
static String
topoConfigString(TopoDataFile baseLevel)
-
-
-
Field Detail
-
topoCacheFormatVersion
public static final String topoCacheFormatVersion
- See Also:
- Constant Field Values
-
topoConfigHashFn
public static final com.google.common.hash.HashFunction topoConfigHashFn
We're not trying to protect against deliberate collisions, and we don't need anything super fast -- but ubiquity and stability over time are important.
-
-
Method Detail
-
topoCacheDataset
public static TopoDataset topoCacheDataset(TopoDataFile baseLevel) throws IOException
- Throws:
IOException
-
topoCacheDataset
public static TopoDataset topoCacheDataset(TopoDataFile baseLevel, File cacheParentDir) throws IOException
- Throws:
IOException
-
topoConfigString
public static String topoConfigString(TopoDataFile baseLevel)
-
-