Package com.turbospaces.ebean
Interface CacheManager
- All Superinterfaces:
BootstrapAware,org.jgroups.blocks.MethodLookup,io.ebean.cache.ServerCacheFactory
- All Known Implementing Classes:
DefaultEbeanCacheManager
public interface CacheManager
extends org.jgroups.blocks.MethodLookup, io.ebean.cache.ServerCacheFactory, BootstrapAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic shortstatic shortstatic shortstatic shortstatic short -
Method Summary
Modifier and TypeMethodDescriptionio.ebean.cache.ServerCachevoidclearAll(boolean preserveSimple)voidvoidvoidonCacheClear(String cacheKey)voidonCacheClearAll(boolean preserveSimple)voidonCachePut(String cacheKey, byte[] id, byte[] value)voidonCacheRemove(String cacheKey, byte[] id)voidonTablesModify(String tables)simpleCache(String name)static voidMethods inherited from interface com.turbospaces.boot.BootstrapAware
setBootstrapMethods inherited from interface org.jgroups.blocks.MethodLookup
findMethodMethods inherited from interface io.ebean.cache.ServerCacheFactory
createCache, createCacheNotify, visit
-
Field Details
-
METHOD_ON_CACHE_PUT
static final short METHOD_ON_CACHE_PUT- See Also:
- Constant Field Values
-
METHOD_ON_CHANGE_REMOVE
static final short METHOD_ON_CHANGE_REMOVE- See Also:
- Constant Field Values
-
METHOD_ON_CACHE_CLEAR
static final short METHOD_ON_CACHE_CLEAR- See Also:
- Constant Field Values
-
METHOD_ON_MODIFIED
static final short METHOD_ON_MODIFIED- See Also:
- Constant Field Values
-
METHOD_ON_CACHE_CLEAR_ALL
static final short METHOD_ON_CACHE_CLEAR_ALL- See Also:
- Constant Field Values
-
-
Method Details
-
simpleCache
-
cache
-
clearAllLocal
void clearAllLocal() -
clearAllSimple
void clearAllSimple() -
clearAll
void clearAll(boolean preserveSimple) -
onCachePut
-
onCacheRemove
-
onCacheClear
-
onCacheClearAll
void onCacheClearAll(boolean preserveSimple) -
onTablesModify
-
trace
-