getAllkeys Api

2022-03-07 Thread Surinder Mehra
Hi,
I was looking for a way to fetch all cache keys in an efficient manner from
ignite cache. Looks like there is no such api yet.
Would it be correct to use a transformer in Scan query to just fetch the
key from entry being scanned. This will avoid fetching full cache entry
from server nodes

Or is there a better way to do this.

https://www.gridgain.com/docs/latest/developers-guide/key-value-api/using-scan-queries


Re: Daemon threads

2022-03-07 Thread Ilya Kazakov
Hello, you can deploy a compute task with infinite loop and check time
inside. And if condition is true halt a local node.

org.apache.ignite.internal.util.typedef.G.stop(igniteInstanceName, true);

пт, 4 мар. 2022 г. в 21:58, Joan Pujol :

> Hi,
>
> Is there any way to configure the threads used by service operations or
> compute to be daemon threads to shutdown a node in time?
>
> Cheers,
>
> --
> Joan Jesús Pujol Espinar
> http://www.joanpujol.cat
>