org.gcube.contentmanagement.timeseries.geotools.tools
Class VTICache
java.lang.Object
org.gcube.contentmanagement.timeseries.geotools.tools.VTICache
- All Implemented Interfaces:
- java.io.Serializable
public class VTICache
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
VTICache(java.lang.String cacheFile)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cacheFile
public java.lang.String cacheFile
VTICache
public VTICache(java.lang.String cacheFile)
getCachedElement
public Tuple<java.lang.String> getCachedElement(java.lang.String timeSeriesName)
removeCachedElement
public void removeCachedElement(java.lang.String timeSeriesName)
addCacheElement
public void addCacheElement(java.lang.String timeSeriesName,
java.lang.String geoServerGroup)
initInstance
public static void initInstance(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInstance
public static VTICache getInstance(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
addToCache
public static void addToCache(java.lang.String timeSeriesName,
java.lang.String geoServerGroup)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCache
public static VTICache getCache(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveCache
public static void saveCache(VTICache cache,
java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception