public abstract class AbstractCacheManager extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
_evictionQuota
in case of eviction policy we evict unused entries in order to ensure space.
|
protected int |
m_CacheSize |
Constructor and Description |
---|
AbstractCacheManager() |
Modifier and Type | Method and Description |
---|---|
abstract int |
evictBatch(int evictionQuota)
Evict a quota of entries from cache.
|
int |
getCachePolicy() |
int |
getMaxCacheSize() |
boolean |
isAllInCachePolicy() |
boolean |
isBlobStoreCachePolicy() |
boolean |
isEvictableCachePolicy() |
boolean |
isPluggedEvictionPolicy() |
boolean |
isResidentEntriesCachePolicy() |
void |
setCachePolicy(int cachePolicy) |
void |
setEvictionQuota(int evictionQuota) |
protected int _evictionQuota
protected int m_CacheSize
public abstract int evictBatch(int evictionQuota)
public void setEvictionQuota(int evictionQuota)
public int getCachePolicy()
public void setCachePolicy(int cachePolicy)
public boolean isResidentEntriesCachePolicy()
public boolean isBlobStoreCachePolicy()
public boolean isEvictableCachePolicy()
public boolean isAllInCachePolicy()
public boolean isPluggedEvictionPolicy()
public int getMaxCacheSize()
Copyright © GigaSpaces.