| java.lang.Object com.opensymphony.oscache.base.events.CacheEvent com.opensymphony.oscache.base.events.CacheGroupEvent
CacheGroupEvent | final public class CacheGroupEvent extends CacheEvent (Code) | | CacheGroupEvent is an event that occurs at the cache group level
(Add, update, remove, flush). It contains the group name and the
originating cache object.
version: $Revision: 254 $ author: Chris Miller |
Constructor Summary | |
public | CacheGroupEvent(Cache map, String group) | public | CacheGroupEvent(Cache map, String group, String origin) Constructs a cache group event
Parameters: map - The cache map of the cache entry Parameters: group - The cache group that the event applies to. Parameters: origin - An optional tag that can be attached to the event tospecify the event's origin. |
CacheGroupEvent | public CacheGroupEvent(Cache map, String group)(Code) | | Constructs a cache group event with no origin
Parameters: map - The cache map of the cache entry Parameters: group - The cache group that the event applies to. |
CacheGroupEvent | public CacheGroupEvent(Cache map, String group, String origin)(Code) | | Constructs a cache group event
Parameters: map - The cache map of the cache entry Parameters: group - The cache group that the event applies to. Parameters: origin - An optional tag that can be attached to the event tospecify the event's origin. This is useful to prevent events from beingfired recursively in some situations, such as when an event handlercauses another event to be fired. |
getGroup | public String getGroup()(Code) | | Retrieve the cache group that the event applies to.
|
getMap | public Cache getMap()(Code) | | Retrieve the cache map where the group resides.
|
Methods inherited from com.opensymphony.oscache.base.events.CacheEvent | public String getOrigin()(Code)(Java Doc)
|
|
|