IGNITE-16983 Java thin: Add AtomicLong partition awareness (#10024)