public class CacheEvent extends EventObject
CacheChangedListener.newValue(stella.io.CacheChangedEvent) method. Note
that this event also carries the value of the key to allow the listener
to judge whether the event was received accidently.
This event is a purely internal one. No rmi-transport is ever intended.
Therefore, all definitions are found in this package, and this event
class only extends the generic EventObject class rather than the
{stella.rmi.RmiEvent} class. Additionally, the appropriate caster
interface does not implement the generic Caster
interface.
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Object> |
cache
The key in the cache, i.e.
|
private static long |
serialVersionUID |
source| Constructor and Description |
|---|
CacheEvent(Object src,
Map<String,Object> polling)
Constructs a new cache event.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getCache()
The accessory method for the cache key, i.e.
|
getSource, toStringprivate static final long serialVersionUID