public interface JetspeedCacheEventListener
Provides interface to Jetspeed for cache events
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
|
void notifyElementRemoved(JetspeedCache cache, boolean local, Object key, Object element)
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectvoid notifyElementAdded(JetspeedCache cache, boolean local, Object key, Object element)
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectvoid notifyElementChanged(JetspeedCache cache, boolean local, Object key, Object element)
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectvoid notifyElementEvicted(JetspeedCache cache, boolean local, Object key, Object element)
cache
- the Cache repoorting the changelocal
- true if action was local, false if initiated by remote cachekey
- key of objectelement
- content of objectvoid notifyElementExpired(JetspeedCache cache, boolean local, Object key, Object element)
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.