Use custom Data Region or custom Cache for IgniteAtomicReference - Ignite 2.3

2017-12-07 Thread Krzysztof Chmielewski
Hi all, I would like to ask, if there is a way to use custom DataRegionConfiguration (other than default) for storing IgniteAtomicReferences. I would like to use Ignite's 2.3 feature where I can turn on/off Persistent per Cache (via DataRegionConfiguration). I would like to enable persistent only

Re: Compute async Job from Ignite Service and return IgniteFuture

2017-11-27 Thread Krzysztof Chmielewski
Hi, thanks for clarification. My use case it that I have some logic that is hidden from client but client can execute this logic by calling Ignite Service. Some of those operation may take a while, so I thought that it would be nice to run it asynchronously and return Future object so the client

Compute async Job from Ignite Service and return IgniteFuture

2017-11-27 Thread Krzysztof Chmielewski
Hi Team, I have a question regarding Ignite Services and Compute async. If we have a deployed IgniteService like this public class MySercviceImpl implements Service, MyService { @IgniteInstanceResource private Ignite ignite; @Override public IgniteFuture doStuff() { IgniteFutu

Re: Ignite Service and node failure

2017-11-27 Thread Krzysztof Chmielewski
Thanks for a fast response :) All is clear now. Regards, Krzysztof -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Ignite Service and node failure

2017-11-27 Thread Krzysztof Chmielewski
Hi Team, I would like to ask about a preferable approach regarding the Service acquiring via Ignite's Service Proxy and a node failure. Lets assume we have a service deployed as a Cluster Singleton. Grid client acquires the service instance via ignite.services().serviceProxy(...) The questions a

Use @ServiceResource with property placeholder

2017-11-23 Thread Krzysztof Chmielewski
Hi all, is it possible to use @ServiceResource with service name from property placeholder? In my Ignite config.xml I'm already using values from properties file Thanks Krzysztof -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Unable to query system cache through Visor console

2017-11-22 Thread Krzysztof Chmielewski
Thanks for your response Denis. My uses case would be to list all Ignite semaphores and Ignite atomic references used in my Ignite grid. As fare as I know, those are stored in system caches. Thanks Krzysztof -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Unable to query system cache through Visor console

2017-11-22 Thread Krzysztof Chmielewski
Hi, is there a way to query system caches like *ignite-sys-atomic-cache* via Visor console? If I'm trying to execute Visor command "cache -scan -c=@c2" where @2 is a cache's id, I'm receiving this error: *(wrn) : Failed to get cache because it is a system cache: ignite-sys-atomic-cache@default-ds-

IgniteCache.localEntries(CachePeekMode... peekModes) result

2017-09-01 Thread Krzysztof Chmielewski
Hello All, I have a question about IgniteCache's *localEntries(CachePeekMode * *... peekModes)* method result. In our case we are using Ignite 2.1.0 We are broadcasting a closure to our ignite nodes to c