|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface MemoryCache.CacheListener
Provides the interface for cache clients to be notified of key events. Currently the only key event is the removal of an entry from the cache. A client may need to know a removal instigated by the cache occurred in order to adjust its own state or to free resources associated with the removed entry.
| Method Summary | |
|---|---|
void |
entryRemoved(Object key,
Object clientObject)
Called just after an entry has been removed from the cache. |
void |
removalException(Throwable exception,
Object key,
Object clientObject)
Called when an exception occurs within the entryRemoved(Object, Object) call. |
| Method Detail |
|---|
void entryRemoved(Object key,
Object clientObject)
key - the entry's cache key.clientObject - the cached object.
void removalException(Throwable exception,
Object key,
Object clientObject)
entryRemoved(Object, Object) call.
exception - the exception that occurred.key - the entry's cache key.clientObject - the cached object.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||