org.apache.beehive.netui.util.cache
Class ClassLevelCache
Object
ClassLevelCache
public final class ClassLevelCache
- extends Object
Thread-safe cache that is stored statically per-Class.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLevelCache
protected ClassLevelCache()
getCache
public static ClassLevelCache getCache(Class c)
get
public Object get(String majorKey,
String minorKey)
getCacheObject
public Object getCacheObject(String cacheID)
setCacheObject
public void setCacheObject(String cacheID,
Object object)
getCacheMap
public Map getCacheMap(String cacheID)
getCacheMap
public Map getCacheMap(String cacheID,
boolean createIfMissing)
put
public void put(String cacheID,
String minorKey,
Object value)
clearAll
public static void clearAll()