16 #ifndef HAZELCAST_ID_GENERATOR 17 #define HAZELCAST_ID_GENERATOR 19 #include "hazelcast/client/IAtomicLong.h" 20 #include "hazelcast/util/AtomicInt.h" 21 #include <boost/shared_ptr.hpp> 24 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 26 #pragma warning(disable: 4251) //for dll export 36 class IdGeneratorSupport;
43 friend class impl::HazelcastClientInstanceImpl;
70 boost::shared_ptr<util::Atomic<int64_t> > local;
71 boost::shared_ptr<util::Atomic<int32_t> > residue;
72 boost::shared_ptr<util::Mutex> localLock;
73 IdGenerator(
const std::string &instanceName, spi::ClientContext *context);
81 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) Cluster-wide unique id generator.
Definition: IdGenerator.h:42
IAtomicLong is a distributed atomic long implementation.
Definition: IAtomicLong.h:37
Definition: MapEntryView.h:32