|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheListener
An interface for classes that listen for CacheEvent
s.
CacheEvent
,
FileTemplateCache
Method Summary | |
---|---|
void |
cacheUnavailable(CacheEvent event)
Called when a cache cannot be updated. |
void |
elementRemoved(CacheEvent event)
Called when an element is removed from the cache. |
void |
elementUpdated(CacheEvent event)
Called when a cache element updates successfully. |
void |
elementUpdateFailed(CacheEvent event)
Called when a cache element fails to update. |
Method Detail |
---|
void cacheUnavailable(CacheEvent event)
Exception
object.
event
- the CacheEvent
fired.void elementUpdated(CacheEvent event)
event
- the CacheEvent
fired.void elementRemoved(CacheEvent event)
event
- the CacheEvent
fired.void elementUpdateFailed(CacheEvent event)
Exception
object.
event
- the CacheEvent
fired.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |