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
Captures the Coherence-based
MapListener
and MapEventFilter
instances used for a CacheEntryListenerConfiguration
- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.04
-
Constructor Summary
ConstructorsConstructorDescriptionPassThroughListenerRegistration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> configuration, MapListener listener, MapEventFilter filter) Constructs aPassThroughListenerRegistration
. -
Method Summary
Modifier and TypeMethodDescriptionObtains theCacheEntryListenerConfiguration
for the registration.Obtains theMapEventFilter
for the registrationObtains theMapListener
for the registration.
-
Constructor Details
-
PassThroughListenerRegistration
public PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> configuration, MapListener listener, MapEventFilter filter) Constructs aPassThroughListenerRegistration
.- Parameters:
configuration
- theCacheEntryListenerConfiguration
listener
- theMapListener
filter
- theMapEventFilter
-
-
Method Details
-
getCacheEntryListenerConfiguration
public javax.cache.configuration.CacheEntryListenerConfiguration<K,V> getCacheEntryListenerConfiguration()Obtains theCacheEntryListenerConfiguration
for the registration.- Returns:
- the
CacheEntryListenerConfiguration
-
getMapListener
Obtains theMapListener
for the registration.- Returns:
- the
MapListener
-
getMapEventFilter
Obtains theMapEventFilter
for the registration. (null
if no filtering required).- Returns:
- the
MapEventFilter
-