16 #ifndef HAZELCAST_ATOMIC_NUMBER
17 #define HAZELCAST_ATOMIC_NUMBER
19 #include "hazelcast/client/spi/ClientContext.h"
20 #include "hazelcast/client/spi/InvocationService.h"
21 #include "hazelcast/client/serialization/pimpl/Data.h"
22 #include "hazelcast/client/proxy/ProxyImpl.h"
51 int64_t addAndGet(int64_t delta);
62 bool compareAndSet(int64_t expect, int64_t update);
69 int64_t decrementAndGet();
84 int64_t getAndAdd(int64_t delta);
92 int64_t getAndSet(int64_t newValue);
99 int64_t incrementAndGet();
106 int64_t getAndIncrement();
113 void set(int64_t newValue);
117 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:38
Hazelcast Client enables you to do all Hazelcast operations without being a member of the cluster...
Definition: HazelcastClient.h:458