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);
Difference between Listeners and Client Listeners
TODO
Client Listener Organizatorium
When a Hot Rod client registers a client listener, it does so in a single node in a cluster. See http://infinispan.org/docs/8.0.x/user_guide/user_guide.html#client_event_listener_failure_handling