Package com.turbospaces.ebean
Class DefaultEbeanCacheManager
java.lang.Object
com.turbospaces.boot.AbstractBootstrapAware
com.turbospaces.ebean.DefaultEbeanCacheManager
- All Implemented Interfaces:
BootstrapAware,CacheManager,io.ebean.cache.ServerCacheFactory,io.ebean.cache.ServerCacheNotify,org.jgroups.blocks.MethodLookup,org.springframework.beans.factory.BeanFactory
public class DefaultEbeanCacheManager
extends AbstractBootstrapAware
implements io.ebean.cache.ServerCacheNotify, CacheManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.turbospaces.boot.AbstractBootstrapAware
bootstrap, loggerFields inherited from interface org.springframework.beans.factory.BeanFactory
FACTORY_BEAN_PREFIXFields inherited from interface com.turbospaces.ebean.CacheManager
METHOD_ON_CACHE_CLEAR, METHOD_ON_CACHE_CLEAR_ALL, METHOD_ON_CACHE_PUT, METHOD_ON_CHANGE_REMOVE, METHOD_ON_MODIFIED -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEbeanCacheManager(org.jgroups.blocks.RpcDispatcher dispatcher, org.jgroups.blocks.RequestOptions requestOptions) -
Method Summary
Modifier and TypeMethodDescriptionio.ebean.cache.ServerCachevoidclearAll(boolean preserveSimple)voidvoidio.ebean.cache.ServerCachecreateCache(io.ebean.cache.ServerCacheConfig config)io.ebean.cache.ServerCacheNotifycreateCacheNotify(io.ebean.cache.ServerCacheNotify cacheNotify)findMethod(short id)voidnotify(io.ebean.cache.ServerCacheNotification notification)voidonCacheClear(String cacheKey)voidonCacheClearAll(boolean preserveSimple)voidonCachePut(String cacheKey, byte[] id, byte[] value)voidonCacheRemove(String cacheKey, byte[] id)voidonTablesModify(String line)simpleCache(String name)Methods inherited from class com.turbospaces.boot.AbstractBootstrapAware
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch, setBootstrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.turbospaces.boot.BootstrapAware
setBootstrapMethods inherited from interface io.ebean.cache.ServerCacheFactory
visit
-
Field Details
-
METHODS
-
-
Constructor Details
-
DefaultEbeanCacheManager
public DefaultEbeanCacheManager(org.jgroups.blocks.RpcDispatcher dispatcher, org.jgroups.blocks.RequestOptions requestOptions)
-
-
Method Details
-
findMethod
- Specified by:
findMethodin interfaceorg.jgroups.blocks.MethodLookup
-
cache
- Specified by:
cachein interfaceCacheManager
-
createCache
public io.ebean.cache.ServerCache createCache(io.ebean.cache.ServerCacheConfig config)- Specified by:
createCachein interfaceio.ebean.cache.ServerCacheFactory
-
createCacheNotify
public io.ebean.cache.ServerCacheNotify createCacheNotify(io.ebean.cache.ServerCacheNotify cacheNotify)- Specified by:
createCacheNotifyin interfaceio.ebean.cache.ServerCacheFactory
-
notify
public void notify(io.ebean.cache.ServerCacheNotification notification)- Specified by:
notifyin interfaceio.ebean.cache.ServerCacheNotify
-
onTablesModify
- Specified by:
onTablesModifyin interfaceCacheManager
-
onCachePut
- Specified by:
onCachePutin interfaceCacheManager
-
onCacheRemove
- Specified by:
onCacheRemovein interfaceCacheManager
-
onCacheClear
- Specified by:
onCacheClearin interfaceCacheManager
-
onCacheClearAll
public void onCacheClearAll(boolean preserveSimple)- Specified by:
onCacheClearAllin interfaceCacheManager
-
simpleCache
- Specified by:
simpleCachein interfaceCacheManager
-
clearAllLocal
public void clearAllLocal()- Specified by:
clearAllLocalin interfaceCacheManager
-
clearAllSimple
public void clearAllSimple()- Specified by:
clearAllSimplein interfaceCacheManager
-
clearAll
public void clearAll(boolean preserveSimple)- Specified by:
clearAllin interfaceCacheManager
-