Infinispan Cache Listeners
Jump to navigation
Jump to search
External
Internal
Overview
Infinispan offers a listener API that can be used by clients to register listeners for cache and cache manager events. It is an annotation-driver API. An event triggers a notification which is dispatched to listeners.
Code
RemoteCache<String,Integer> c = ...; cl = new CacheListenerImpl(); c.addClientListener(cl);