|
|||||||||||
| 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.CacheMapAccessEvent
Cache map access event. This is the object created when an event occurs on a cache map (cache Hit, cache miss). It contains the entry that was referenced by the event and the event type.
| Field Summary |
| Fields inherited from class com.opensymphony.oscache.base.events.CacheEvent |
origin |
| Constructor Summary | |
CacheMapAccessEvent(CacheMapAccessEventType eventType,
CacheEntry entry)
Constructor. |
|
CacheMapAccessEvent(CacheMapAccessEventType eventType,
CacheEntry entry,
java.lang.String origin)
Constructor. |
|
| Method Summary | |
CacheEntry |
getCacheEntry()
Retrieve the cache entry that the event applies to. |
java.lang.String |
getCacheEntryKey()
Retrieve the cache entry key that the event applies to. |
CacheMapAccessEventType |
getEventType()
Retrieve the type of the event. |
| 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, toString, wait, wait, wait |
| Constructor Detail |
public CacheMapAccessEvent(CacheMapAccessEventType eventType,
CacheEntry entry)
eventType - Type of the event.entry - The cache entry that the event applies to.
public CacheMapAccessEvent(CacheMapAccessEventType eventType,
CacheEntry entry,
java.lang.String origin)
eventType - Type of the event.entry - The cache entry that the event applies to.origin - The origin of the event| Method Detail |
public CacheEntry getCacheEntry()
public java.lang.String getCacheEntryKey()
public CacheMapAccessEventType getEventType()
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||