Skip navigation links
com.tangosol.util
Class MapListenerSupport.FilterEvent
java.lang.Object
java.util.EventObject
com.tangosol.util.MapEvent
com.tangosol.net.cache.CacheEvent
com.tangosol.util.MapListenerSupport.FilterEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- MapListenerSupport
-
public static class MapListenerSupport.FilterEvent
- extends CacheEvent
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.
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary |
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, 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 |
| Methods inherited from class com.tangosol.util.MapEvent |
dispatch, dispatch, dispatch, getDescription, getId, getKey, getMap, getNewEntry, getNewValue, getOldEntry, getOldValue, toString |
| Methods inherited from class java.util.EventObject |
getSource |
m_afilter
protected Filter[] m_afilter
- Filters caused the event.
MapListenerSupport.FilterEvent
public MapListenerSupport.FilterEvent(ObservableMap map,
int nId,
java.lang.Object oKey,
boolean fSynthetic,
Filter[] afilter)
- Constructs a new lite (no values are specified) FilterEvent.
- Parameters:
map - the ObservableMap object that fired the event
nId - this event's id
oKey - the key into the map
fSynthetic - true iff the event is caused by the cache internal processing such as eviction or loading
afilter - an array of filters caused this event
MapListenerSupport.FilterEvent
public 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.
- Parameters:
map - the ObservableMap object that fired the event
nId - this event's id
oKey - the key into the map
oValueOld - the old value
oValueNew - the new value
fSynthetic - true iff the event is caused by the cache internal processing such as eviction or loading
afilter - an array of filters caused this event
getFilter
public Filter[] getFilter()
- Return an array of filters that are the cause of this event
-
- Returns:
- an array of filters
getDescription
protected java.lang.String getDescription()
- Get the event's description.
-
- Overrides:
getDescription in class CacheEvent
-
- Returns:
- this event's description
Skip navigation links
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.