Package com.turbospaces.ebean
Class JgroupsServerQueryCache
java.lang.Object
io.ebeaninternal.server.cache.DefaultServerCache
io.ebeaninternal.server.cache.DefaultServerQueryCache
com.turbospaces.ebean.JgroupsServerQueryCache
- All Implemented Interfaces:
com.turbospaces.boot.BootstrapAware,io.ebean.cache.ServerCache,org.springframework.beans.factory.Aware
public class JgroupsServerQueryCache
extends io.ebeaninternal.server.cache.DefaultServerQueryCache
implements com.turbospaces.boot.BootstrapAware
-
Nested Class Summary
Nested classes/interfaces inherited from class io.ebeaninternal.server.cache.DefaultServerCache
io.ebeaninternal.server.cache.DefaultServerCache.CacheEntry, io.ebeaninternal.server.cache.DefaultServerCache.CompareByLastAccess, io.ebeaninternal.server.cache.DefaultServerCache.EvictionRunnable -
Field Summary
Fields inherited from class io.ebeaninternal.server.cache.DefaultServerCache
BY_LAST_ACCESS, clearCount, evictCount, gcCount, hitCount, idleCount, lock, logger, lruCount, map, maxIdleSecs, maxSecsToLive, maxSize, missCount, mutationCounter, name, putCount, removeCount, shortName, trimFrequency, trimOnPut, ttlCount -
Constructor Summary
ConstructorsConstructorDescriptionJgroupsServerQueryCache(org.jgroups.blocks.RpcDispatcher dispatcher, io.ebeaninternal.server.cache.DefaultServerCacheConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidonClear()voidsetBootstrap(com.turbospaces.boot.Bootstrap bootstrap) Methods inherited from class io.ebeaninternal.server.cache.DefaultServerQueryCache
getCacheEntry, unwrapEntryMethods inherited from class io.ebeaninternal.server.cache.DefaultServerCache
get, getHitCount, getMissCount, getName, getShortName, getTrimSize, hitRatio, periodicTrim, put, putAll, remove, runEviction, size, statistics, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.ebean.cache.ServerCache
getAll, removeAll, unwrap
-
Constructor Details
-
JgroupsServerQueryCache
public JgroupsServerQueryCache(org.jgroups.blocks.RpcDispatcher dispatcher, io.ebeaninternal.server.cache.DefaultServerCacheConfig config)
-
-
Method Details
-
setBootstrap
public void setBootstrap(com.turbospaces.boot.Bootstrap bootstrap) - Specified by:
setBootstrapin interfacecom.turbospaces.boot.BootstrapAware
-
clear
public void clear()- Specified by:
clearin interfaceio.ebean.cache.ServerCache- Overrides:
clearin classio.ebeaninternal.server.cache.DefaultServerCache
-
onClear
public void onClear()
-