To get an iterator over the local entries, you can use this method:

IgniteCache.localEntries(CachePeekMode.PRIMARY)

The CachePeekMode.PRIMARY allows to iterate only over the primary copies,
ignoring the backups.

You can broadcast a computation to the cache nodes using standard
IgniteCompute API and iterate through local entries inside your computation
logic.

D.

On Wed, Dec 9, 2015 at 2:43 PM, Camilo Alvarez <[email protected]> wrote:

> Hi ,
>
> I want to know if it is possible to execute a computation only on the
> entries of the node?. I want to add apox. 200 million objects in a
> distributed cache and then execute a computation in each node, this
> computation should work only whith the local entries creating a local
> index. I am using the default hash algorithm.
>
>
> Regards,
>
> Camilo
>

Reply via email to