org.gcube.contentmanagement.timeseries.geotools.tools
Class VTICache

java.lang.Object
  extended by 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

Field Summary
 java.lang.String cacheFile
           
 
Constructor Summary
VTICache(java.lang.String cacheFile)
           
 
Method Summary
 void addCacheElement(java.lang.String timeSeriesName, java.lang.String geoServerGroup)
           
static void addToCache(java.lang.String timeSeriesName, java.lang.String geoServerGroup)
           
static VTICache getCache(java.lang.String filePath)
           
 Tuple<java.lang.String> getCachedElement(java.lang.String timeSeriesName)
           
static VTICache getInstance(java.lang.String filePath)
           
static void initInstance(java.lang.String filePath)
           
 void removeCachedElement(java.lang.String timeSeriesName)
           
static void saveCache(VTICache cache, java.lang.String filePath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheFile

public java.lang.String cacheFile
Constructor Detail

VTICache

public VTICache(java.lang.String cacheFile)
Method Detail

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