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 aCoherenceCacheEntryListenerRegistrationbased on aCacheEntryListenerConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionbooleanObtains an instance of theCacheEntryEventFilterfor the registration.Obtains an instance of theCacheEntryListenerfor the registration.Obtains the underlyingCacheEntryListenerConfigurationused to create the registrationinthashCode()
-
Constructor Details
-
CoherenceCacheEntryListenerRegistration
public CoherenceCacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> configuration) Constructs aCoherenceCacheEntryListenerRegistrationbased on aCacheEntryListenerConfiguration.- Parameters:
configuration- theCacheEntryListenerConfiguration
-
-
Method Details
-
getCacheEntryFilter
Obtains an instance of theCacheEntryEventFilterfor the registration. If no instance has been previously instantiated, one is created.- Returns:
- the
CacheEntryEventFilterfor the registration
-
getCacheEntryListener
Obtains an instance of theCacheEntryListenerfor the registration. If no instance has been previously instantiated, one is created.- Returns:
- the
CacheEntryListenerfor the registration
-
getConfiguration
Obtains the underlyingCacheEntryListenerConfigurationused to create the registration- Returns:
- the
CacheEntryListenerConfiguration
-
equals
-
hashCode
public int hashCode()
-