Infinispan Cache Listeners: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
c.addClientListener(cl);
c.addClientListener(cl);
</pre>
</pre>
=Difference between Listeners and Client Listeners=
<font color=red>TODO</font>

Revision as of 21:28, 26 October 2016

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