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 long addAndGet(
long delta);
62 bool compareAndSet(
long expect,
long update);
69 long decrementAndGet();
84 long getAndAdd(
long delta);
92 long getAndSet(
long newValue);
99 long incrementAndGet();
106 long getAndIncrement();
113 void set(
long 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:412