Package com.turbospaces.ebean
Interface CacheManager
- All Superinterfaces:
io.ebean.cache.ServerCacheFactory,io.ebean.cache.ServerCachePlugin
- All Known Implementing Classes:
JGroupsCacheManager,MockCacheManager
public interface CacheManager
extends io.ebean.cache.ServerCachePlugin, io.ebean.cache.ServerCacheFactory
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearAll(boolean preserveSimple) voidvoidcreateSimpleCache(String name) io.ebean.cache.ServerCachedefault voidonCacheClear(String cacheKey) default voidonCacheClearAll(boolean preserveSimple) default voidonCachePut(String cacheKey, byte[] id, byte[] value) default voidonCacheRemove(String cacheKey, byte[] id) default voidonTablesModify(String tables) voidsetBackgroundExecutor(io.ebean.BackgroundExecutor executor) Methods inherited from interface io.ebean.cache.ServerCacheFactory
createCache, createCacheNotify, visitMethods inherited from interface io.ebean.cache.ServerCachePlugin
create
-
Method Details
-
setBackgroundExecutor
void setBackgroundExecutor(io.ebean.BackgroundExecutor executor) -
createSimpleCache
-
getCache
-
clearAllLocal
void clearAllLocal() -
clearAllSimple
void clearAllSimple() -
clearAll
void clearAll(boolean preserveSimple) -
onCachePut
-
onCacheRemove
-
onCacheClear
-
onCacheClearAll
default void onCacheClearAll(boolean preserveSimple) -
onTablesModify
-