ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javastuff.sam@gmail.com" <javastuff....@gmail.com>
Subject Event Listeners
Date Fri, 14 Oct 2016 22:04:02 GMT

1. Is there a way to create cache event listener only for a particular
cache, so that other cache don't generate events and its overhead?
Currently, able to work with listener handler filtering based on CacheName,
however events are generated for all cache.

public boolean apply(CacheEvent evt) {
if(evt.cacheName().equals("SAMPLE")) {
//do something.
} else {
// ignore
return true;

2. Is there a way to ensure that event listener is already created? In other
words how to ensure that we are creating only one listener per node for
event and topic. Currently, able to work with localListener, however
specific case or topology remoteListener needed.


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Event-Listeners-tp8306.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message