public interface MorphiumCache
String getCacheKey(Class type, Map<String,Object> qo, Map<String,Integer> sort, Map<String,Object> project, String collection, int skip, int limit)
Map<Class<?>,Map<String,CacheElement>> getCache()
void setCache(Map<Class<?>,Map<String,CacheElement>> cache)
void clearCachefor(Class<?> cls)
void resetCache()
void clearCacheIfNecessary(Class cls)
void addCacheListener(CacheListener cl)
void removeCacheListener(CacheListener cl)
boolean isListenerRegistered(CacheListener cl)
void setGlobalCacheTimeout(int tm)
void setAnnotationAndReflectionHelper(AnnotationAndReflectionHelper hlp)
void setHouskeepingIntervalPause(int p)
void setValidCacheTime(Class type, int time)
void setDefaultCacheTime(Class type)
Copyright © 2017. All rights reserved.