public class EventMessage extends Object implements Serializable
The message is Serializable, so that it can be sent across the network.
The value of an Element is referenced with a SoftReference, so that a value will fail to be delivered in preference to an OutOfMemory error.
| Constructor and Description |
|---|
EventMessage(Ehcache cache,
Serializable key)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Ehcache |
getEhcache()
Gets the associated
Ehcache. |
Serializable |
getSerializableKey() |
public EventMessage(Ehcache cache, Serializable key)
cache - key - public final Ehcache getEhcache()
Ehcache.public final Serializable getSerializableKey()
Copyright 2001-2021, Terracotta, Inc.