17 #ifndef HAZELCAST_CLIENT_PNCOUNTER_PNCOUNTER_H_ 18 #define HAZELCAST_CLIENT_PNCOUNTER_PNCOUNTER_H_ 22 #include "hazelcast/client/spi/ClientProxy.h" 23 #include "hazelcast/client/DistributedObject.h" 73 #include "hazelcast/client/DistributedObject.h" 92 virtual int64_t
get() = 0;
107 virtual int64_t getAndAdd(int64_t delta) = 0;
122 virtual int64_t addAndGet(int64_t delta) = 0;
137 virtual int64_t getAndSubtract(int64_t delta) = 0;
152 virtual int64_t subtractAndGet(int64_t delta) = 0;
166 virtual int64_t decrementAndGet() = 0;
180 virtual int64_t incrementAndGet() = 0;
194 virtual int64_t getAndDecrement() = 0;
208 virtual int64_t getAndIncrement() = 0;
215 virtual void reset() = 0;
222 #endif //HAZELCAST_CLIENT_PNCOUNTER_PNCOUNTER_H_ Base class for all distributed objects.
Definition: DistributedObject.h:58
Definition: PNCounter.h:79
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32