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.
| Modifier and Type | Field and Description |
|---|---|
| private final transient Ehcache | cache
The associated cache. |
| private final Serializable | key
The key component. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Ehcache | |
| public final Serializable |
| cache | back to summary |
|---|---|
| private final transient Ehcache cache The associated cache. | |
| key | back to summary |
|---|---|
| private final Serializable key The key component. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| EventMessage | back to summary |
|---|---|
| public EventMessage(Ehcache cache, Serializable key) Full constructor. | |
| getEhcache | back to summary |
|---|---|
| public final Ehcache getEhcache() Gets the associated
| |
| getSerializableKey | back to summary |
|---|---|
public final Serializable getSerializableKey()
| |