|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface EvictionManager
Central component that deals with eviction of cache entries.
Typically,processEviction()
is called periodically by the eviction thread (which can be configured using
Configuration.setEvictionWakeUpInterval(long)
and GlobalConfiguration.setEvictionScheduledExecutorFactoryClass(String)
).
If the eviction thread is disabled - by setting (long)
to 0 -
then this method could be called directly, perhaps by any other maintenance thread that runs periodically in the application.
Note that this method is a no-op if the eviction strategy configured is EvictionStrategy.NONE
.
Method Summary | |
---|---|
boolean |
isEnabled()
|
void |
processEviction()
Processes the eviction event queue. |
Method Detail |
---|
void processEviction()
boolean isEnabled()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |