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 CacheEntryListenerConfiguration
listener
- the MapListener
filter
- the MapEventFilter
public javax.cache.configuration.CacheEntryListenerConfiguration<K,V> getCacheEntryListenerConfiguration()
CacheEntryListenerConfiguration
for the registration.CacheEntryListenerConfiguration
public MapListener getMapListener()
MapListener
for the registration.MapListener
public MapEventFilter getMapEventFilter()
MapEventFilter
for the registration. (null
if no filtering required).MapEventFilter