Package | Description |
---|---|
org.xwiki.cache | |
org.xwiki.cache.event | |
org.xwiki.cache.util |
Modifier and Type | Method and Description |
---|---|
void |
Cache.addCacheEntryListener(CacheEntryListener<T> listener)
Add the provided listener to the cache to catch events on entries like add, remove etc.
|
void |
Cache.removeCacheEntryListener(CacheEntryListener<T> listener)
Remove the provided listener from the list of listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheEntryListener<T>
Empty implementations of the
CacheEntryListener interface to make it easy for code wanting to listen to
events to only override the method(s) corresponding to the event(s) listened to. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCache.addCacheEntryListener(CacheEntryListener<T> listener) |
void |
AbstractCache.removeCacheEntryListener(CacheEntryListener<T> listener) |
Copyright © 2004–2022 XWiki. All rights reserved.