|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EvictionAlgorithm
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 |
---|
void process(Region region) throws EvictionException
region
- Region that this algorithm will operate on.
EvictionException
void resetEvictionQueue(Region region)
region
- Region that this algorithm will operate on.EvictionQueue getEvictionQueue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |