|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.EventObject
com.tangosol.util.MapEvent
com.tangosol.net.cache.CacheEvent
com.tangosol.util.MapListenerSupport.FilterEvent
public static class MapListenerSupport.FilterEvent
An extension of the CacheEvent which may carry no values (old or new), but instead holds on an array of Filter objects being the "cause" of the event.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.net.cache.CacheEvent |
---|
CacheEvent.TransformationState |
Field Summary | |
---|---|
protected Filter[] |
f_aFilter Filters that caused the event. |
protected MapEvent |
f_event Optional wrapped MapEvent. |
Fields inherited from class com.tangosol.net.cache.CacheEvent |
---|
m_fSynthetic, m_transformState |
Fields inherited from class com.tangosol.util.MapEvent |
---|
ENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_nId, m_oKey, m_oValueNew, m_oValueOld |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
MapListenerSupport.FilterEvent(MapEvent event, Filter[] aFilter) Constructs a new FilterEvent that wraps the given MapEvent. |
|
MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.Object oKey, boolean fSynthetic, Filter[] aFilter) Constructs a new lite (no values are specified) FilterEvent. |
|
MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.Object oKey, java.lang.Object oValueOld, java.lang.Object oValueNew, boolean fSynthetic, CacheEvent.TransformationState transformState, Filter[] aFilter) Constructs a new FilterEvent. |
|
MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.Object oKey, java.lang.Object oValueOld, java.lang.Object oValueNew, boolean fSynthetic, Filter[] aFilter) Constructs a new FilterEvent. |
Method Summary | |
---|---|
protected java.lang.String |
getDescription() Get the event's description. |
Filter[] |
getFilter() Return an array of filters that are the cause of this event. |
java.lang.Object |
getKey() Return a key associated with this event. |
java.lang.Object |
getNewValue() Return a new value associated with this event. |
java.lang.Object |
getOldValue() Return an old value associated with this event. |
Methods inherited from class com.tangosol.net.cache.CacheEvent |
---|
getTransformationState, isSynthetic |
Methods inherited from class com.tangosol.util.MapEvent |
---|
dispatch, dispatch, dispatch, getDescription, getId, getMap, getNewEntry, getOldEntry, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Field Detail |
---|
protected final Filter[] f_aFilter
protected final MapEvent f_event
Constructor Detail |
---|
public MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.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 MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.Object oKey, java.lang.Object oValueOld, java.lang.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 MapListenerSupport.FilterEvent(ObservableMap map, int nId, java.lang.Object oKey, java.lang.Object oValueOld, java.lang.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 MapListenerSupport.FilterEvent(MapEvent event, Filter[] aFilter)
event
- the wrapped MapEventaFilter
- an array of filters that caused this eventMethod Detail |
---|
public Filter[] getFilter()
protected java.lang.String getDescription()
getDescription
in class CacheEvent
public java.lang.Object getKey()
getKey
in class MapEvent
public java.lang.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 MapEvent
public java.lang.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
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |