net.sf.ehcache.distribution
Class RmiEventMessage
java.lang.Object
net.sf.ehcache.distribution.EventMessage
net.sf.ehcache.distribution.RmiEventMessage
- All Implemented Interfaces:
- Serializable
public final class RmiEventMessage
- extends EventMessage
- Author:
- cdennis
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiEventMessage
public RmiEventMessage(Ehcache cache,
RmiEventMessage.RmiEventType type,
Serializable key,
Element element)
- Full constructor.
- Parameters:
cache
- type
- key
- element
-
getType
public final RmiEventMessage.RmiEventType getType()
- Gets the event.
- Returns:
- either
#PUT
or #REMOVE
getElement
public final Element getElement()
- Returns:
- the element component of the message. null if a
#REMOVE
event
Copyright 2001-2014, Terracotta, Inc.