org.gcube.searchsystem.cache
Class PlanCacheManager

java.lang.Object
  extended by org.gcube.searchsystem.cache.PlanCacheManager

public class PlanCacheManager
extends java.lang.Object


Constructor Summary
PlanCacheManager()
           
 
Method Summary
static boolean checkInitializationError()
           
static PlanCache getCacheWithName(java.lang.String cacheName)
          Get the cache with the specified name
static java.lang.String getInitializationError()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanCacheManager

public PlanCacheManager()
Method Detail

checkInitializationError

public static boolean checkInitializationError()

getInitializationError

public static java.lang.String getInitializationError()

getCacheWithName

public static PlanCache getCacheWithName(java.lang.String cacheName)
Get the cache with the specified name

Parameters:
cacheName - - the specified name
Returns:
the cache with the specified name. If there is no such cache, it will create a new one with the specified name and return the new cache.