K - the type of the Cache keysV - the type of the Cache valuespublic class PassThroughListenerRegistration<K,V> extends Object
MapListener and MapEventFilter instances used for a CacheEntryListenerConfiguration| Constructor and Description |
|---|
PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration, MapListener listener, MapEventFilter filter)
Constructs a
PassThroughListenerRegistration. |
| Modifier and Type | Method and Description |
|---|---|
javax.cache.configuration.CacheEntryListenerConfiguration<K,V> |
getCacheEntryListenerConfiguration()
Obtains the
CacheEntryListenerConfiguration for the registration. |
MapEventFilter |
getMapEventFilter()
Obtains the
MapEventFilter for the registration. |
MapListener |
getMapListener()
Obtains the
MapListener for the registration. |
public PassThroughListenerRegistration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> configuration, MapListener listener, MapEventFilter filter)
PassThroughListenerRegistration.configuration - the CacheEntryListenerConfigurationlistener - the MapListenerfilter - the MapEventFilterpublic javax.cache.configuration.CacheEntryListenerConfiguration<K,V> getCacheEntryListenerConfiguration()
CacheEntryListenerConfiguration for the registration.CacheEntryListenerConfigurationpublic MapListener getMapListener()
MapListener for the registration.MapListenerpublic MapEventFilter getMapEventFilter()
MapEventFilter for the registration. (null if no filtering required).MapEventFilter