K - the type of the Cache keysV - the type of the Cache valuespublic class PassThroughMapListenerAdapter<K,V> extends Object implements MapListener
| Constructor and Description |
|---|
PassThroughMapListenerAdapter(javax.cache.Cache<K,V> cache, javax.cache.event.CacheEntryListener<? super K,? super V> cacheEntryListener)
Constructs a
PassThroughMapListenerAdapter. |
| Modifier and Type | Method and Description |
|---|---|
void |
entryDeleted(MapEvent event)
Invoked when a map entry has been removed.
|
void |
entryInserted(MapEvent event)
Invoked when a map entry has been inserted.
|
void |
entryUpdated(MapEvent event)
Invoked when a map entry has been updated.
|
javax.cache.event.CacheEntryListener<? super K,? super V> |
getCacheEntryListener()
Obtains the
CacheEntryListener to which MapEvents will be delegated. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsynchronouspublic PassThroughMapListenerAdapter(javax.cache.Cache<K,V> cache, javax.cache.event.CacheEntryListener<? super K,? super V> cacheEntryListener)
PassThroughMapListenerAdapter.cache - the Cache on which the MapListener is operatingcacheEntryListener - the CacheEntryListener to which to delegate and adapt MapEventspublic void entryInserted(MapEvent event)
MapListenerentryInserted in interface MapListenerevent - the MapEvent carrying the insert informationpublic void entryUpdated(MapEvent event)
MapListenerentryUpdated in interface MapListenerevent - the MapEvent carrying the update informationpublic void entryDeleted(MapEvent event)
MapListenerentryDeleted in interface MapListenerevent - the MapEvent carrying the delete information