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

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

public class GeoGroupCache
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 String cacheFile
           
 
Constructor Summary
GeoGroupCache(String cacheFile)
           
 
Method Summary
 void addCacheElement(String timeSeriesName, String filterName, String... elements)
           
static void addToCache(String timeSeriesName, String geoServerGroup, String filterName)
           
static GeoGroupCache getCache(String filePath)
           
 Tuple<String> getCachedElement(String timeSeriesName, String geoServerGroup)
           
static GeoGroupCache getInstance(String filePath)
           
static void initInstance(String filePath)
           
 void removeCachedElement(String timeSeriesName, String filterName)
           
static void saveCache(GeoGroupCache 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

GeoGroupCache

public GeoGroupCache(String cacheFile)
Method Detail

getCachedElement

public Tuple<String> getCachedElement(String timeSeriesName,
                                      String geoServerGroup)

removeCachedElement

public void removeCachedElement(String timeSeriesName,
                                String filterName)

addCacheElement

public void addCacheElement(String timeSeriesName,
                            String filterName,
                            String... elements)

initInstance

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

getInstance

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

addToCache

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

getCache

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

saveCache

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


Copyright © 2013. All Rights Reserved.