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
A runtime representation of a
CacheEntryListener
registration, including
its CacheEntryListenerConfiguration
.- Since:
- Coherence 12.1.3
- Author:
- jf 2013.10.24
-
Constructor Summary
ConstructorsConstructorDescriptionCoherenceCacheEntryListenerRegistration
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> configuration) Constructs aCoherenceCacheEntryListenerRegistration
based on aCacheEntryListenerConfiguration
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Obtains an instance of theCacheEntryEventFilter
for the registration.Obtains an instance of theCacheEntryListener
for the registration.Obtains the underlyingCacheEntryListenerConfiguration
used to create the registrationint
hashCode()
-
Constructor Details
-
CoherenceCacheEntryListenerRegistration
public CoherenceCacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> configuration) Constructs aCoherenceCacheEntryListenerRegistration
based on aCacheEntryListenerConfiguration
.- Parameters:
configuration
- theCacheEntryListenerConfiguration
-
-
Method Details
-
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
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
Obtains the underlyingCacheEntryListenerConfiguration
used to create the registration- Returns:
- the
CacheEntryListenerConfiguration
-
equals
-
hashCode
public int hashCode()
-