|
|||||||||||
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,
String origin)
Constructor. |
Method Summary | |
CacheEntry |
getCacheEntry()
Retrieve the cache entry that the event applies to. |
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, String origin)
eventType
- Type of the event.entry
- The cache entry that the event applies to.origin
- The origin of the eventMethod Detail |
public CacheEntry getCacheEntry()
public String getCacheEntryKey()
public CacheMapAccessEventType getEventType()
|
OSCache Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |