16 #ifndef HAZELCAST_ATOMIC_NUMBER 17 #define HAZELCAST_ATOMIC_NUMBER 19 #include "hazelcast/client/spi/ClientContext.h" 20 #include "hazelcast/client/serialization/pimpl/Data.h" 21 #include "hazelcast/client/proxy/ProxyImpl.h" 38 friend class impl::HazelcastClientInstanceImpl;
50 int64_t addAndGet(int64_t delta);
61 bool compareAndSet(int64_t expect, int64_t update);
68 int64_t decrementAndGet();
83 int64_t getAndAdd(int64_t delta);
91 int64_t getAndSet(int64_t newValue);
98 int64_t incrementAndGet();
105 int64_t getAndIncrement();
112 void set(int64_t newValue);
116 IAtomicLong(
const std::string& objectName, spi::ClientContext *context);
Cluster-wide unique id generator.
Definition: IdGenerator.h:42
IAtomicLong is a distributed atomic long implementation.
Definition: IAtomicLong.h:37
Definition: MapEntryView.h:32