16 #ifndef HAZELCAST_CLIENT_IDGENERATOR_H_ 17 #define HAZELCAST_CLIENT_IDGENERATOR_H_ 20 #include <boost/shared_ptr.hpp> 22 #include "hazelcast/util/HazelcastDll.h" 23 #include "hazelcast/client/impl/IdGeneratorInterface.h" 28 class HazelcastClientInstanceImpl;
39 class HAZELCAST_API
IdGenerator :
public impl::IdGeneratorInterface {
40 friend class impl::HazelcastClientInstanceImpl;
45 virtual bool init(int64_t
id);
47 virtual int64_t newId();
50 IdGenerator(
const boost::shared_ptr<impl::IdGeneratorInterface> &impl);
52 boost::shared_ptr<impl::IdGeneratorInterface> impl;
Definition: IdGenerator.h:39
A cluster-wide unique ID generator.
Definition: FlakeIdGenerator.h:53
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32