Basically I am looking for way to dynamically add listeners and remove 
listeners. Have to use continuous query?

From: Xu, Nan
Sent: Wednesday, August 02, 2017 4:02 PM
To: [email protected]
Subject: how to remove listener from java code?

Region<String, String> region = 
cache.createClientRegionFactory(ClientRegionShortcut.PROXY)
                .addCacheListener(listener1)
                .addCacheListener(listener2)

                .create(regionName);

This can add cache listener, how to remove listener1?

Thanks
Nan

----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

Reply via email to