|
|||||||||||
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.ScopeEvent
A ScopeEvent
is created when an event occurs across one or all scopes.
This type of event is only applicable to the ServletCacheAdministrator
.
Field Summary |
Fields inherited from class com.opensymphony.oscache.base.events.CacheEvent |
origin |
Constructor Summary | |
ScopeEvent(ScopeEventType eventType,
int scope,
Date date)
Constructs a scope event object with no specified origin. |
|
ScopeEvent(ScopeEventType eventType,
int scope,
Date date,
String origin)
Constructs a scope event object. |
Method Summary | |
Date |
getDate()
Retrieve the event date |
ScopeEventType |
getEventType()
Retrieve the type of the event. |
int |
getScope()
Retrieve the scope that applies to 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 ScopeEvent(ScopeEventType eventType, int scope, Date date)
eventType
- Type of the event.scope
- Scope that applies to the event.date
- Date that the event applies to.public ScopeEvent(ScopeEventType eventType, int scope, Date date, String origin)
eventType
- Type of the event.scope
- Scope that applies to the event.date
- Date that the event applies to.origin
- The origin of this event.Method Detail |
public Date getDate()
public ScopeEventType getEventType()
public int getScope()
|
OSCache Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |