ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Invoking instance of Ignite service which is deployed together with a cache data
Date Thu, 13 Sep 2018 15:26:30 GMT

My recommendation will be, roughly,
ignite.compute().affinityRun(cacheNames, key, () ->

Hope this helps,
Ilya Kasnacheev

чт, 13 сент. 2018 г. в 12:40, Maxim Malygin <maxim.malygin@gmail.com>:

> 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

View raw message