public class JetspeedCacheEventAdapter extends Object implements JetspeedCacheEventListener
Constructor and Description |
---|
JetspeedCacheEventAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
notifyElementAdded(JetspeedCache cache,
boolean local,
Object key,
Object element)
ADDED notification for cache listeners
|
void |
notifyElementChanged(JetspeedCache cache,
boolean local,
Object key,
Object element)
CHANGE notification for cache listeners
|
void |
notifyElementEvicted(JetspeedCache cache,
boolean local,
Object key,
Object element)
EVICTED notification for cache listeners
|
void |
notifyElementExpired(JetspeedCache cache,
boolean local,
Object key,
Object element)
EXPIRED notification for cache listeners
|
void |
notifyElementRemoved(JetspeedCache cache,
boolean local,
Object key,
Object element)
REMOVE notification for cache listeners
|
public void notifyElementRemoved(JetspeedCache cache, boolean local, Object key, Object element)
JetspeedCacheEventListener
notifyElementRemoved
in interface JetspeedCacheEventListener
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectpublic void notifyElementAdded(JetspeedCache cache, boolean local, Object key, Object element)
JetspeedCacheEventListener
notifyElementAdded
in interface JetspeedCacheEventListener
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectpublic void notifyElementChanged(JetspeedCache cache, boolean local, Object key, Object element)
JetspeedCacheEventListener
notifyElementChanged
in interface JetspeedCacheEventListener
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectpublic void notifyElementEvicted(JetspeedCache cache, boolean local, Object key, Object element)
JetspeedCacheEventListener
notifyElementEvicted
in interface JetspeedCacheEventListener
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectpublic void notifyElementExpired(JetspeedCache cache, boolean local, Object key, Object element)
JetspeedCacheEventListener
notifyElementExpired
in interface JetspeedCacheEventListener
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.