public static class MapListenerSupport.FilterEvent extends CacheEvent
CacheEvent.TransformationState| Modifier and Type | Field and Description |
|---|---|
protected Filter[] |
f_aFilter
Filters that caused the event.
|
protected MapEvent |
f_event
Optional wrapped MapEvent.
|
EXPIRED, m_nFlags, m_transformState, PRIMING, SYNTHETICENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_nId, m_oKey, m_oValueNew, m_oValueOldsource| Constructor and Description |
|---|
FilterEvent(MapEvent event,
Filter[] aFilter)
Constructs a new FilterEvent that wraps the given MapEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
boolean fSynthetic,
boolean fPriming,
Filter[] aFilter)
Constructs a new lite (no values are specified) FilterEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
boolean fSynthetic,
Filter[] aFilter)
Constructs a new lite (no values are specified) FilterEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
boolean fPriming,
Filter[] aFilter)
Constructs a new FilterEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
CacheEvent.TransformationState transformState,
boolean fPriming,
boolean fExpired,
Filter[] aFilter)
Constructs a new FilterEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
CacheEvent.TransformationState transformState,
boolean fPriming,
Filter[] aFilter)
Constructs a new FilterEvent.
|
FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
CacheEvent.TransformationState transformState,
Filter[] aFilter)
Constructs a new FilterEvent.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescription()
Get the event's description.
|
Filter[] |
getFilter()
Return an array of filters that are the cause of this event.
|
Object |
getKey()
Return a key associated with this event.
|
MapEvent |
getMapEvent()
Return the wrapped event.
|
Object |
getNewValue()
Return a new value associated with this event.
|
Object |
getOldValue()
Return an old value associated with this event.
|
getTransformationState, isExpired, isPriming, isSynthetic, shouldDispatchdispatch, dispatch, dispatch, getDescription, getId, getMap, getNewEntry, getOldEntry, isDelete, isInsert, isUpdate, readExternal, toString, writeExternalgetSourceprotected final Filter[] f_aFilter
protected final MapEvent f_event
public FilterEvent(ObservableMap map, int nId, Object oKey, boolean fSynthetic, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapfSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingaFilter - an array of filters that caused this eventpublic FilterEvent(ObservableMap map, int nId, Object oKey, boolean fSynthetic, boolean fPriming, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapfSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingfPriming - a flag indicating whether or not the event is a priming eventaFilter - an array of filters that caused this eventpublic FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, boolean fPriming, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapoValueOld - the old valueoValueNew - the new valuefSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingfPriming - a flag indicating whether or not the event is a priming eventaFilter - an array of filters that caused this eventpublic FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapoValueOld - the old valueoValueNew - the new valuefSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingtransformState - the state describing
how this event has been or should be transformedaFilter - an array of filters that caused this eventpublic FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapoValueOld - the old valueoValueNew - the new valuefSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingtransformState - the state describing
how this event has been or should be transformedfPriming - a flag indicating whether or not the event is a priming eventaFilter - an array of filters that caused this eventpublic FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, boolean fPriming, boolean fExpired, Filter[] aFilter)
map - the ObservableMap object that fired the eventnId - this event's idoKey - the key into the mapoValueOld - the old valueoValueNew - the new valuefSynthetic - true iff the event is caused by the cache
internal processing such as eviction or loadingtransformState - the state describing
how this event has been or should be transformedfPriming - a flag indicating whether or not the event is a priming eventfExpired - true iff the event results from an eviction due to timeaFilter - an array of filters that caused this eventpublic Filter[] getFilter()
public MapEvent getMapEvent()
MapEventprotected String getDescription()
getDescription in class CacheEventpublic Object getKey()
public Object getOldValue()
The old value represents a value deleted from or updated in a map. It is always null for "insert" notifications.
getOldValue in class MapEventpublic Object getNewValue()
The new value represents a new value inserted into or updated in a map. It is always null for "delete" notifications.
getNewValue in class MapEvent