Package org.cache2k.core.eviction
Class IdleScanEviction
- java.lang.Object
-
- org.cache2k.core.eviction.DelegatingEviction
-
- org.cache2k.core.eviction.IdleScanEviction
-
- All Implemented Interfaces:
NeedsClose,Eviction
public class IdleScanEviction extends DelegatingEviction
Merges in idle scanning to eviction.- Author:
- Jens Wilke
-
-
Constructor Summary
Constructors Constructor Description IdleScanEviction(Eviction eviction, IdleScan idleScan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(InternalCacheCloseContext closeContext)protected Evictiondelegate()StringtoString()-
Methods inherited from class org.cache2k.core.eviction.DelegatingEviction
changeCapacity, checkIntegrity, evictEventually, evictEventuallyBeforeInsert, evictEventuallyBeforeInsertOnSegment, evictIdleEntries, getMetrics, isWeigherPresent, removeAll, runLocked, startNewIdleScanRound, submitWithoutTriggeringEviction, updateWeight
-
-
-
-
Method Detail
-
delegate
protected Eviction delegate()
- Specified by:
delegatein classDelegatingEviction
-
close
public void close(InternalCacheCloseContext closeContext)
- Specified by:
closein interfaceNeedsClose- Overrides:
closein classDelegatingEviction
-
toString
public String toString()
- Overrides:
toStringin classDelegatingEviction
-
-