Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.util
Class MapListenerSupport.FilterEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.tangosol.util.MapEvent
          extended by com.tangosol.net.cache.CacheEvent
              extended by 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.


Field Summary
protected  Filter[] m_afilter
          Filters caused the event.

 

Fields inherited from class com.tangosol.net.cache.CacheEvent
m_fSynthetic

 

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(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.net.cache.CacheEvent
isSynthetic

 

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

 

Field Detail

m_afilter

protected Filter[] m_afilter
Filters caused the event.

Constructor Detail

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

Method Detail

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

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.