|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.oscache.base.events.CacheEvent
com.opensymphony.oscache.base.events.CacheEntryEvent
CacheEntryEvent is the object created when an event occurs on a cache entry (Add, update, remove, flush). It contains the entry itself and its map.
| Field Summary |
| Fields inherited from class com.opensymphony.oscache.base.events.CacheEvent |
origin |
| Constructor Summary | |
CacheEntryEvent(Cache map,
CacheEntry entry)
Constructs a cache entry event object with no specified origin |
|
CacheEntryEvent(Cache map,
CacheEntry entry,
java.lang.String origin)
Constructs a cache entry event object |
|
| Method Summary | |
CacheEntry |
getEntry()
Retrieve the cache entry that the event applies to. |
java.lang.String |
getKey()
Retrieve the cache entry key |
Cache |
getMap()
Retrieve the cache map where the entry resides. |
java.lang.String |
toString()
|
| Methods inherited from class com.opensymphony.oscache.base.events.CacheEvent |
getOrigin |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CacheEntryEvent(Cache map,
CacheEntry entry)
map - The cache map of the cache entryentry - The cache entry that the event applies to
public CacheEntryEvent(Cache map,
CacheEntry entry,
java.lang.String origin)
map - The cache map of the cache entryentry - The cache entry that the event applies toorigin - The origin of this event| Method Detail |
public CacheEntry getEntry()
public java.lang.String getKey()
public Cache getMap()
public java.lang.String toString()
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||