ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladislav Pyatkov <vldpyat...@gmail.com>
Subject Re: is there a interface let client know the change of assignment(like topology version)?
Date Thu, 01 Sep 2016 08:34:31 GMT
Hello,

You can subscribe to event[1] and handle EVT_CACHE_REBALANCE_STARTED
and EVT_CACHE_REBALANCE_STOPPED events on client node.

[1]: https://apacheignite.readme.io/docs/events

On Thu, Sep 1, 2016 at 5:17 AM, bluehu <hushenglan@gmail.com> wrote:

> for example, C is a client, X and Y are ignite server, then server Z join
> in:
>
> topologyVersion changed immediately, and then rebalance start, a
> CacheAffinityChangeMessage will sent after rebalance finished, then
> assignment changed.
>
> is there a interface let client know the change of assignment(like topology
> version)?
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/is-there-a-interface-let-client-know-
> the-change-of-assignment-like-topology-version-tp7444.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 
Vladislav Pyatkov

Mime
View raw message