public class LegacyEventMessage extends EventMessage
Modifier and Type | Field and Description |
---|---|
static int |
PUT
A put or update event.
|
static int |
REMOVE
A remove or invalidate event.
|
static int |
REMOVE_ALL
A removeAll, which removes all elements from a cache
|
Constructor and Description |
---|
LegacyEventMessage(int event,
Serializable key,
Element element)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
Element |
getElement() |
int |
getEvent()
Gets the event.
|
boolean |
isValid() |
getEhcache, getSerializableKey
public static final int PUT
public static final int REMOVE
public static final int REMOVE_ALL
public LegacyEventMessage(int event, Serializable key, Element element)
event
- key
- element
- Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.