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.
|
m_fSynthetic, m_transformStateENTRY_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, Filter[] aFilter)
Constructs a new lite (no values are specified) FilterEvent.
|
FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, Filter[] aFilter)
Constructs a new FilterEvent.
|
FilterEvent(ObservableMap map, int nId, Object oKey, Object oValueOld, Object oValueNew, boolean fSynthetic, 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.
|
Object |
getNewValue()
Return a new value associated with this event.
|
Object |
getOldValue()
Return an old value associated with this event.
|
getTransformationState, isSyntheticdispatch, dispatch, dispatch, getDescription, getId, getMap, getNewEntry, getOldEntry, toStringgetSourceprotected 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, Object oValueOld, Object oValueNew, boolean fSynthetic, 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 loadingaFilter - 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 Filter[] getFilter()
protected 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