thanks for your understanding,
Last question,
I want to use data rebalancing, because I have scenario like this:

let's say node 1 has 10000 datas in its caches. (Which cache mode is
REPLICATED)
Now I will invoke another node2, then node2 will copy of node1's cache
datas.
But when copying occuring, if any client node wants to get data from cache
via node2, I should say "cache is not ready" or node2 should be accessible
after it has all datas.

I though that I can use data rebalancing, that's why i am interested in
events. But, a few minutes ago, I have noticed I can not get
CacheRebalanceEVENT, because of replicated mode. (I can catch other events
for example EVT_CACHE_OBJECT_PUT.

Now what can i do?

here is the cache events in xml file


                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_READ"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_REMOVED"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_REBALANCE_STARTED"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_REBALANCE_PART_LOADED"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_REBALANCE_STOPPED"/>
                <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_REBALANCE_PART_UNLOADED"/>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to