abstract class CacheAdapter extends java.lang.Object implements CacheListener
CacheListener
. Extend this class with your own
implementation if you do not want to fully implement a
CacheListener
.Constructor and Description |
---|
CacheAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
cacheAdd(CacheEvent e)
An object has been added to the cache.
|
void |
cacheGet(CacheEvent e)
An object has been looked up in the cache.
|
void |
cacheRemove(CacheEvent e)
An object has been removed from the cache.
|
public void cacheAdd(CacheEvent e)
CacheListener
cacheAdd
in interface CacheListener
e
- object holding information about the eventpublic void cacheGet(CacheEvent e)
CacheListener
cacheGet
in interface CacheListener
e
- object holding information about the eventpublic void cacheRemove(CacheEvent e)
CacheListener
cacheRemove
in interface CacheListener
e
- object holding information about the event