Interface | Description |
---|---|
CacheEntryCreatedListener<K,V> |
Invoked after a cache entry is created, or if a batch call is made, after the entries are created.
|
CacheEntryEventFilter<K,V> |
A filter which may be used to check
CacheEntryEvent s prior to being
dispatched to CacheEntryListener s. |
CacheEntryExpiredListener<K,V> |
Invoked if a cache entry or entries are evicted due to expiration.
|
CacheEntryListener<K,V> |
Tagging interface for cache entry listeners.
|
CacheEntryListenerRegistration<K,V> |
Defines the runtime semantics of a
CacheEntryListener . |
CacheEntryRemovedListener<K,V> |
Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.
|
CacheEntryUpdatedListener<K,V> |
Invoked if an existing cache entry is updated, or if a batch call is made, after the entries are updated.
|
CompletionListener |
A CompletionListener is implemented by an application when it needs to be
notified of the completion of some Cache operation.
|
Class | Description |
---|---|
CacheEntryEvent<K,V> |
A Cache event base class
|
CompletionListenerFuture |
A CompletionListenerFuture is a CompletionListener implementation that
supports being used as a Future.
|
Exception | Description |
---|---|
CacheEntryListenerException |
An exception to indicate a problem has occurred with a listener.
|
CacheEntryCreatedListener
.
Listeners are invoked after the cache is updated. If the listener throws
an CacheEntryCreatedListener
this will propagate back to the caller but it does not affect the cache update
as it already completed before the listener was called. If the cache is transactional, transactions
must commit before listeners are called. If an exception is thrown by a listener this does not
affect the transaction as the transaction has already completed.
Copyright © 2013. All Rights Reserved.