Class EvictionCacheManager
java.lang.Object
com.j_spaces.core.cache.AbstractCacheManager
com.j_spaces.core.client.cache.map.EvictionCacheManager
-
Field Summary
Fields inherited from class com.j_spaces.core.cache.AbstractCacheManager
_evictionQuota, m_CacheSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintevictBatch(int evictionQuota) Evict a quota of entries from cache.voidsetEvictionQuota(int evictionQuota) Methods inherited from class com.j_spaces.core.cache.AbstractCacheManager
getCachePolicy, getMaxCacheSize, isAllInCachePolicy, isBlobStoreCachePolicy, isEvictableFromSpaceCachePolicy, isPluggedEvictionPolicy, isResidentEntriesCachePolicy, isTieredStorageCachePolicy, setCachePolicy
-
Constructor Details
-
EvictionCacheManager
-
-
Method Details
-
evictBatch
public int evictBatch(int evictionQuota) Description copied from class:AbstractCacheManagerEvict a quota of entries from cache.- Specified by:
evictBatchin classAbstractCacheManager- Returns:
- number of actual evicted
-
setEvictionQuota
public void setEvictionQuota(int evictionQuota) - Overrides:
setEvictionQuotain classAbstractCacheManager
-