|
ehcache | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.ehcache.distribution.EventMessage
An Event Message, in respect of a particular cache.
The message is Serializable, so that it can be sent across the network.
| Field Summary | |
static int |
PUT
A put or update event. |
static int |
REMOVE
A remove or invalidate event. |
| Constructor Summary | |
EventMessage(int event,
java.io.Serializable key,
Element element)
Full constructor. |
|
| Method Summary | |
Element |
getElement()
|
int |
getEvent()
Gets the event. |
java.io.Serializable |
getSerializableKey()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int PUT
public static final int REMOVE
| Constructor Detail |
public EventMessage(int event,
java.io.Serializable key,
Element element)
event - key - element - | Method Detail |
public final int getEvent()
PUT or REMOVEpublic final Element getElement()
REMOVE eventpublic final java.io.Serializable getSerializableKey()
PUT event
|
ehcache | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||