|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface to listen to cache entry events. There is a method for each event type. These methods are called via a dispatcher. If you want to be notified when an event occurs on an entry, group or across a pattern, register a listener and implement this interface.
Method Summary | |
void |
cacheEntryAdded(CacheEntryEvent event)
Event fired when an entry is added to the cache. |
void |
cacheEntryFlushed(CacheEntryEvent event)
Event fired when an entry is flushed from the cache. |
void |
cacheEntryRemoved(CacheEntryEvent event)
Event fired when an entry is removed from the cache. |
void |
cacheEntryUpdated(CacheEntryEvent event)
Event fired when an entry is updated in the cache. |
void |
cacheFlushed(CachewideEvent event)
An event that is fired when an entire cache gets flushed. |
void |
cacheGroupFlushed(CacheGroupEvent event)
Event fired when a group is flushed from the cache. |
void |
cachePatternFlushed(CachePatternEvent event)
Event fired when a key pattern is flushed from the cache. |
Method Detail |
public void cacheEntryAdded(CacheEntryEvent event)
public void cacheEntryFlushed(CacheEntryEvent event)
public void cacheEntryRemoved(CacheEntryEvent event)
public void cacheEntryUpdated(CacheEntryEvent event)
public void cacheGroupFlushed(CacheGroupEvent event)
public void cachePatternFlushed(CachePatternEvent event)
null
or an empty string, instead the flush
request will silently be ignored.
public void cacheFlushed(CachewideEvent event)
|
See www.opensymphony.com for more information. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |