ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@apache.org>
Subject Re: Register CacheEvent Remote Listener
Date Mon, 13 Feb 2017 10:04:17 GMT
Yes, it's possible. Moreover, Ignite doesn't support event listening
only for particular cache (except of possibility to filter out cache
events by cache name).

Just register your listener and you will receive events for all caches:

ignite.events().remoteListen(lsnr, filter, types);

On Mon, Feb 13, 2017 at 6:57 AM, shawn.du <shawn.du@neulion.com.cn> wrote:
> Hi,
>
> I want to only register listeners for cacheEvent, but I don't want to
> specify the particular cache.
> it is possible?
>
> like this code:
> ignite.events().remoteListen(null, new IgnitePredicate<CacheEvent>()
> {
>
> }
>
> Thanks
> Shawn
>

Mime
View raw message