net.sf.ehcache.distribution
public final class EventMessage extends Object implements Serializable
Version: $Id: EventMessage.java 52 2006-04-24 14:50:03Z gregluck $
UNKNOWN: SerializableHasSerializationMethods
| Field Summary | |
|---|---|
| static int | PUT
A put or update event. |
| static int | REMOVE
A remove or invalidate event. |
| Constructor Summary | |
|---|---|
| EventMessage(int event, Serializable key, Element element)
Full constructor. | |
| Method Summary | |
|---|---|
| Element | getElement() |
| int | getEvent()
Gets the event. |
| Serializable | getSerializableKey() |
Parameters: event key element
Returns: the element component of the message. null if a REMOVE event
Returns: the key component of the message. null if a PUT event