These may be registered for callback notification of the cache events. The specific interface should be implemented for each event type a callback is desired on.
Event notifications occur synchronously in the line of execution of the calling thread.
The calling thread blocks until the listener has completed execution or thrown a
Listeners are invoked after the cache is updated. If the listener throws
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.
Invoked after a cache entry is created, or if a batch call is made, after the entries are created.
Invoked if a cache entry or entries are evicted due to expiration.
A tagging interface for cache entry listeners.
Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.
Invoked if an existing cache entry is updated, or if a batch call is made, after the entries are updated.
A Cache entry event base class.
The type of event received by the listener.
An exception to indicate a problem has occurred with a listener.
Copyright © 2017. All rights reserved.