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:
- 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.
|
Constructor Summary |
MapListenerSupport.FilterEvent(ObservableMap map,
int nId,
Object oKey,
boolean fSynthetic,
Filter[] afilter)
Constructs a new lite (no values are speicifed) FilterEvent. |
MapListenerSupport.FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
Filter[] afilter)
Constructs a new FilterEvent. |
m_afilter
protected Filter[] m_afilter
- Filters caused the event.
MapListenerSupport.FilterEvent
public MapListenerSupport.FilterEvent(ObservableMap map,
int nId,
Object oKey,
boolean fSynthetic,
Filter[] afilter)
- Constructs a new lite (no values are speicifed) FilterEvent.
- Parameters:
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 caused this event
MapListenerSupport.FilterEvent
public MapListenerSupport.FilterEvent(ObservableMap map,
int nId,
Object oKey,
Object oValueOld,
Object oValueNew,
boolean fSynthetic,
Filter[] afilter)
- Constructs a new FilterEvent.
- Parameters:
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 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 String getDescription()
- Get the event's description.
- Overrides:
getDescription in class CacheEvent
- Returns:
- this event's description