Class CoherenceCacheEntryListenerRegistration<K,V>
- java.lang.Object
-
- com.tangosol.coherence.jcache.common.CoherenceCacheEntryListenerRegistration<K,V>
-
- Type Parameters:
K
- the type of keysV
- the type of values
public class CoherenceCacheEntryListenerRegistration<K,V> extends Object
A runtime representation of aCacheEntryListener
registration, including itsCacheEntryListenerConfiguration
.- Since:
- Coherence 12.1.3
- Author:
- jf 2013.10.24
-
-
Constructor Summary
Constructors Constructor Description CoherenceCacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration)
Constructs aCoherenceCacheEntryListenerRegistration
based on aCacheEntryListenerConfiguration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
javax.cache.event.CacheEntryEventFilter<? super K,? super V>
getCacheEntryFilter()
Obtains an instance of theCacheEntryEventFilter
for the registration.javax.cache.event.CacheEntryListener<? super K,? super V>
getCacheEntryListener()
Obtains an instance of theCacheEntryListener
for the registration.javax.cache.configuration.CacheEntryListenerConfiguration<K,V>
getConfiguration()
Obtains the underlyingCacheEntryListenerConfiguration
used to create the registrationint
hashCode()
-
-
-
Constructor Detail
-
CoherenceCacheEntryListenerRegistration
public CoherenceCacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration)
Constructs aCoherenceCacheEntryListenerRegistration
based on aCacheEntryListenerConfiguration
.- Parameters:
configuration
- theCacheEntryListenerConfiguration
-
-
Method Detail
-
getCacheEntryFilter
public javax.cache.event.CacheEntryEventFilter<? super K,? super V> getCacheEntryFilter()
Obtains an instance of theCacheEntryEventFilter
for the registration. If no instance has been previously instantiated, one is created.- Returns:
- the
CacheEntryEventFilter
for the registration
-
getCacheEntryListener
public javax.cache.event.CacheEntryListener<? super K,? super V> getCacheEntryListener()
Obtains an instance of theCacheEntryListener
for the registration. If no instance has been previously instantiated, one is created.- Returns:
- the
CacheEntryListener
for the registration
-
getConfiguration
public javax.cache.configuration.CacheEntryListenerConfiguration<K,V> getConfiguration()
Obtains the underlyingCacheEntryListenerConfiguration
used to create the registration- Returns:
- the
CacheEntryListenerConfiguration
-
-