|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all eviction algorithms.
Note: None of the Eviction classes are thread safe. It is assumed that an individual instance of an EvictionPolicy/ EvictionAlgorithm/EvictionQueue/EvictionConfiguration are only operated on by one thread at any given time.
Method Summary | |
EvictionQueue |
getEvictionQueue()
Get the EvictionQueue implementation used by this algorithm. |
void |
process(Region region)
Entry point for evictin algorithm. |
void |
resetEvictionQueue(Region region)
Reset the whole eviction queue. |
Method Detail |
public void process(Region region) throws EvictionException
region
- Region that this algorithm will operate on.
EvictionException
public void resetEvictionQueue(Region region)
region
- Region that this algorithm will operate on.public EvictionQueue getEvictionQueue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |