|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ReplacementPolicy.Callback
The interface for the callback objects that ConcurrentCache
uses to notify the replacement algorithm about events such as look-ups
and removals. Each Callback
object is associated with a
single entry in the cache.
Method Summary | |
---|---|
void |
access()
Notify the replacement algorithm that the cache entry has been accessed. |
void |
free()
Notify the replacement algorithm that the entry associated with this callback object has been removed, and the callback object and the Cacheable can be reused. |
Method Detail |
---|
void access()
The entry associated with the callback object must be locked by the current thread.
void free()
Cacheable
can be reused.
The entry associated with the callback object must be locked by the current thread.
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |