Class PassThroughListenerRegistration<K,V>
- java.lang.Object
-
- com.tangosol.coherence.jcache.passthroughcache.PassThroughListenerRegistration<K,V>
-
- Type Parameters:
K
- the type of theCache
keysV
- the type of theCache
values
public class PassThroughListenerRegistration<K,V> extends Object
Captures the Coherence-basedMapListener
andMapEventFilter
instances used for aCacheEntryListenerConfiguration
- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.04
-
-
Constructor Summary
Constructors Constructor Description PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration, MapListener listener, MapEventFilter filter)
Constructs aPassThroughListenerRegistration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.cache.configuration.CacheEntryListenerConfiguration<K,V>
getCacheEntryListenerConfiguration()
Obtains theCacheEntryListenerConfiguration
for the registration.MapEventFilter
getMapEventFilter()
Obtains theMapEventFilter
for the registrationMapListener
getMapListener()
Obtains theMapListener
for the registration.
-
-
-
Constructor Detail
-
PassThroughListenerRegistration
public PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration, MapListener listener, MapEventFilter filter)
Constructs aPassThroughListenerRegistration
.- Parameters:
configuration
- theCacheEntryListenerConfiguration
listener
- theMapListener
filter
- theMapEventFilter
-
-
Method Detail
-
getCacheEntryListenerConfiguration
public javax.cache.configuration.CacheEntryListenerConfiguration<K,V> getCacheEntryListenerConfiguration()
Obtains theCacheEntryListenerConfiguration
for the registration.- Returns:
- the
CacheEntryListenerConfiguration
-
getMapListener
public MapListener getMapListener()
Obtains theMapListener
for the registration.- Returns:
- the
MapListener
-
getMapEventFilter
public MapEventFilter getMapEventFilter()
Obtains theMapEventFilter
for the registration. (null
if no filtering required).- Returns:
- the
MapEventFilter
-
-