18 #ifndef _ATIVEMQ_UTIL_IDGENERATOR_H_ 19 #define _ATIVEMQ_UTIL_IDGENERATOR_H_ 31 class IdGeneratorKernel;
37 mutable std::string seed;
38 mutable long long sequence;
40 static IdGeneratorKernel* kernel;
60 std::string generateId()
const;
70 static std::string getHostname();
77 static std::string getSeedFromId(
const std::string&
id);
84 static long long getSequenceFromId(
const std::string&
id);
96 static int compare(
const std::string& id1,
const std::string& id2);
100 static void initialize();
101 static void shutdown();
#define AMQCPP_API
Definition: Config.h:30
Definition: IdGenerator.h:33
Definition: ActiveMQCPP.h:26
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24