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

java.lang.Object
  extended by org.gcube.contentmanagement.timeseries.geotools.tools.VTICache
All Implemented Interfaces:
Serializable

public class VTICache
extends Object
implements Serializable

See Also:
Serialized Form

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

Field Detail

cacheFile

public String cacheFile
Constructor Detail

VTICache

public VTICache(String cacheFile)
Method Detail

getCachedElement

public Tuple<String> getCachedElement(String timeSeriesName)

removeCachedElement

public void removeCachedElement(String timeSeriesName)

addCacheElement

public void addCacheElement(String timeSeriesName,
                            String... identifiers)

initInstance

public static void initInstance(String filePath)
                         throws Exception
Throws:
Exception

getInstance

public static VTICache getInstance(String filePath)
                            throws Exception
Throws:
Exception

addToCache

public static void addToCache(String timeSeriesName,
                              String geoServerGroup)
                       throws Exception
Throws:
Exception

getCache

public static VTICache getCache(String filePath)
                         throws Exception
Throws:
Exception

saveCache

public static void saveCache(VTICache cache,
                             String filePath)
                      throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.