|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.oscache.base.events.CacheEvent
The root event class for all cache events. Each subclasses of this class classifies a particular type of cache event.
Field Summary | |
protected java.lang.String |
origin
An optional tag that can be attached to the event to specify the event's origin. |
Constructor Summary | |
CacheEvent()
No-argument constructor so subtypes can easily implement Serializable |
|
CacheEvent(java.lang.String origin)
Creates a cache event object that came from the specified origin. |
Method Summary | |
java.lang.String |
getOrigin()
Retrieves the origin of this event, if one was specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String origin
Constructor Detail |
public CacheEvent()
Serializable
public CacheEvent(java.lang.String origin)
origin
- A string that indicates where this event was fired from.
This value is optional; null
can be passed in if an
origin is not required.Method Detail |
public java.lang.String getOrigin()
|
See www.opensymphony.com for more information. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |