| java.lang.Object net.sf.ehcache.distribution.EventMessage net.sf.ehcache.distribution.jgroups.JGroupEventMessage
JGroupEventMessage | public class JGroupEventMessage extends EventMessage (Code) | | author: Pierre Monestie (pmonestie[at]@gmail.com) author: Greg Luck version: $Id: JGroupEventMessage.java 592 2008-03-17 08:39:56Z gregluck $ version: EventMessage class for the JGroupsCacheReplicator. |
JGroupEventMessage | public JGroupEventMessage(int event, Serializable key, Element element, Ehcache cache, String cacheName)(Code) | | An event message for the JGroupsCacheReplicator. We keep as transient the
origin cache and we serialize the cacheName. That way the JgroupManager
will know from which cache the message came from
Parameters: event - (PUT,REMOVE,REMOVE_ALL) Parameters: key - the serializable key of the cache element Parameters: element - The element itself. In case of a put. Parameters: cache - the Ehcache instance. This is a transient variable Parameters: cacheName - the name of the cache |
getCache | public Ehcache getCache()(Code) | | Return the cache from which this event originated
|
getCacheName | public String getCacheName()(Code) | | Returns the cache name
the cache name |
|
|