K - the type of keysV - the type of valuespublic class RICacheEntryListenerRegistration<K,V> extends Object
CacheEntryListener.| Constructor and Description |
|---|
RICacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration)
Constructs an
RICacheEntryListenerRegistration. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
javax.cache.event.CacheEntryEventFilter<? super K,? super V> |
getCacheEntryFilter()
Obtains the
CacheEntryEventFilter that was registered. |
javax.cache.event.CacheEntryListener<? super K,? super V> |
getCacheEntryListener()
Obtains the
CacheEntryListener that was registered. |
javax.cache.configuration.CacheEntryListenerConfiguration<K,V> |
getConfiguration()
Gets the underlying configuration used to create this registration
|
int |
hashCode() |
boolean |
isOldValueRequired()
Determines if the old/previous value should to be supplied with the
CacheEntryEvents dispatched to the
CacheEntryListener. |
boolean |
isSynchronous()
Determines if
CacheEntryEvents should be raised
synchronously. |
public RICacheEntryListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration)
RICacheEntryListenerRegistration.configuration - the CacheEntryListenerConfiguration to be registeredpublic javax.cache.event.CacheEntryListener<? super K,? super V> getCacheEntryListener()
CacheEntryListener that was registered.CacheEntryListenerpublic javax.cache.event.CacheEntryEventFilter<? super K,? super V> getCacheEntryFilter()
CacheEntryEventFilter that was registered.CacheEntryEventFilterpublic boolean isOldValueRequired()
CacheEntryEvents dispatched to the
CacheEntryListener.public boolean isSynchronous()
CacheEntryEvents should be raised
synchronously.true if events should be raised synchronouslyCopyright © 2019. All rights reserved.