ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Is it possible to enable both REPLICATED and PARTITIONED?
Date Wed, 12 Oct 2016 20:21:35 GMT

You can use entry processor [1] for this. It sends a closure to the node
where entry is stored and atomically executes it there. The example in the
documentation does the update within the processor and returns null, but you
can do other way around - call getValue(), extract necessary field(s) and
return them. The object you return from the processor will be returned from
the invoke() method on the client.


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Re-Is-it-possible-to-enable-both-REPLICATED-and-PARTITIONED-tp8169p8251.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message