|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.net.cache.OldCache.InternalEvictionPolicy
public static class OldCache.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. |
int |
getEvictionType()Determine the OldCache eviction type represented by this InternalEvictionPolicy. |
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.EvictionPolicyentry - the Cache Entry that has been touchedpublic void requestEviction(int cMaximum)
requestEviction in interface ConfigurableCacheMap.EvictionPolicycMaximum - the maximum number of units that should remain in the cache when the eviction is completepublic java.lang.String getName()
getName in interface ConfigurableCacheMap.EvictionPolicypublic int getEvictionType()
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||