IGNITE-16983 Java thin: Add AtomicLong partition awareness (#10024)
authorPavel Tupitsyn <ptupitsyn@apache.org>
Mon, 16 May 2022 13:50:31 +0000 (16:50 +0300)
committerGitHub <noreply@github.com>
Mon, 16 May 2022 13:50:31 +0000 (16:50 +0300)
commitb2c6f413b3215d1000ffa19e665ad70e02cd8f8b
tree8e450361a5ba9d49a7faf634ae9666247a573ceb
parent6d021ee6217054b668c970ca663130014046082a
IGNITE-16983 Java thin: Add AtomicLong partition awareness (#10024)

`AtomicLong` is just a cache entry underneath, where `GridCacheInternalKeyImpl` is the key. Use partition awareness to send requests to the primary node and improve performance.
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ClientAtomicLongImpl.java
modules/core/src/test/java/org/apache/ignite/internal/client/thin/AtomicLongTest.java
modules/core/src/test/java/org/apache/ignite/internal/client/thin/ThinClientAbstractPartitionAwarenessTest.java
modules/core/src/test/java/org/apache/ignite/internal/client/thin/ThinClientPartitionAwarenessStableTopologyTest.java