16 #ifndef HAZELCAST_ATOMIC_NUMBER 17 #define HAZELCAST_ATOMIC_NUMBER 22 #include "hazelcast/client/spi/ClientContext.h" 23 #include "hazelcast/client/serialization/pimpl/Data.h" 24 #include "hazelcast/client/proxy/ProxyImpl.h" 33 class ClientIdGeneratorProxy;
43 friend class impl::HazelcastClientInstanceImpl;
44 friend class proxy::ClientIdGeneratorProxy;
54 int64_t addAndGet(int64_t delta);
65 bool compareAndSet(int64_t expect, int64_t update);
72 int64_t decrementAndGet();
87 int64_t getAndAdd(int64_t delta);
95 int64_t getAndSet(int64_t newValue);
102 int64_t incrementAndGet();
109 int64_t getAndIncrement();
116 void set(int64_t newValue);
120 IAtomicLong(
const std::string& objectName, spi::ClientContext *context);
IAtomicLong is a distributed atomic long implementation.
Definition: IAtomicLong.h:42
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32