ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Dorozhkin <stalk007s...@gmail.com>
Subject Re: Add cluster (de)activation events IGNITE-8376
Date Mon, 16 Jul 2018 17:36:58 GMT
Igniters, may be I'm wrong, but in my opinion it slightly different
Lifecycle is more like user functionality witch provide simple way to add
additional behavior to cluster.
I can implement interface LifecycleBean, do some logic (may be inject
Ignite instance into it),
add my implementation into class path and change xml configuration. I do no
need coding something else.

Can I do it by simple events?

For example, if I have one node without persistence, I can inject Ignite
instance into my LifecycleBean, initiate cache, and load data into it using
But if I have the cluster, I can't do it.


чт, 12 июл. 2018 г. в 15:25, Dmitriy Setrakyan <dsetrakyan@apache.org>:

> On Thu, Jul 12, 2018 at 3:22 PM, Yakov Zhdanov <yzhdanov@apache.org>
> wrote:
> > If events are working when grid is not active and adding/removing
> listeners
> > is also possible then I agree/
> >
> The events should be working. The cluster is not active, but the node is
> started and should be able to fire events.
> AG, can you comment?

*Best regards, Sergey.*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message