localPeek and CacheMetrics.getCacheGets

2018-02-24 Thread Chris Berry
Hello, I have a question about CacheMetrics. I am using ignite.cache(cacheName).localMetrics(); And in my cache get method, I am using entry = igniteCacheHandle.localPeek(key, CachePeekMode.ALL); And inside CacheMetrics, when I call getCacheGets, I get 0. Even though, I am positive t

Re: localPeek and CacheMetrics.getCacheGets

2018-02-24 Thread slava.koptilin
Hi Chris, IgniteCache#localPeek() method id Apache Ignite specific method that peeks at in-memory cached value using a provided peek mode. This method is not a part of JSR 107 Java™ Caching API, and it is not required that this method meet the specification requirements [12.4. Statistics Effects o

Re: how to dismiss a ignite server node.

2018-02-24 Thread slava.koptilin
Hi Shawn, Perhaps, it will be a good idea to propose this feature on dev-list to see what dev community thinks. Best regards, Slava. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: localPeek and CacheMetrics.getCacheGets

2018-02-24 Thread Chris Berry
Thank you!! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: how to dismiss a ignite server node.

2018-02-24 Thread vkulichenko
Shawn, I doubt this feature makes much sense as it doesn't really add value. If you need to avoid data loss, using backups (and sometimes persistence) is a must, and with backups you can easily achieve functionality you're describing. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabb

Re: How to make full use of network bandwidth?

2018-02-24 Thread Michael Jay
Sorry, I almost forgot it. I have tried the suggestions above, but it didn't work well. Finally, I changed the parameter of writeSynchronizationMode to "FULL_AYSNC", it worked. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/