Hello!

My recommendation will be, roughly,
ignite.compute().affinityRun(cacheNames, key, () ->
ignite.services().service(serviceName).whateverInvocation());

Hope this helps,
-- 
Ilya Kasnacheev


чт, 13 сент. 2018 г. в 12:40, Maxim Malygin <[email protected]>:

> Hi Guys,
>
> I have a service (Ignite Service Grid) which deploys on each node in
> cluster (one instance per node). The service has a method which reads data
> from a partitioned cache by a key which is passed as parameter of the
> method. I'd like to invoke an instance of the service which is deployed on
> the same node the key points to. In other words I need to invoke service
> which is deployed on the same node where a cache data is stored. Is it
> possible?
>
> Thanks,
> Maxim
>

Reply via email to