K- the type of key
V- the type of value
public interface CacheEntryListener<K,V> extends EventListener
Sub-interfaces exist for the various cache events allowing a listener to be created that implements only those listeners it is interested in.
Listeners should be implemented with care. In particular it is important to consider their impact on performance and latency.
A listener that mutates a cache on the CacheManager may cause a deadlock. Detection and response to deadlocks is implementation specific.
Copyright © 2017. All rights reserved.