|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.cache.SerializationCache.InternalEvictionPolicy
public static class SerializationCache.InternalEvictionPolicy
The InternalEvictionPolicy represents a pluggable eviction policy for the non-pluggable built-in (internal) eviction policies supported by this cache implementation.
Method Summary | |
---|---|
void |
entryTouched(ConfigurableCacheMap.Entry entry) This method is called by the cache to indicate that an entry has been touched. |
java.lang.String |
getName() Obtain the name of the eviction policy. |
void |
requestEviction(int cMaximum) This method is called by the cache when the cache requires the eviction policy to evict entries. |
Method Detail |
---|
public void entryTouched(ConfigurableCacheMap.Entry entry)
entryTouched
in interface ConfigurableCacheMap.EvictionPolicy
entry
- the Cache Entry that has been touchedpublic void requestEviction(int cMaximum)
requestEviction
in interface ConfigurableCacheMap.EvictionPolicy
cMaximum
- the maximum number of units that should remain in the cache when the eviction is completepublic java.lang.String getName()
getName
in interface ConfigurableCacheMap.EvictionPolicy
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |