20 #ifndef XRDKCENTRALCOMBSSTORE_H
21 #define XRDKCENTRALCOMBSSTORE_H
23 #include <unordered_map>
27 #include <condition_variable>
28 #include <XrdkCentralComBSStoreJournal.h>
41 bool call_loadJson() {
return loadFromJson(); }
49 bool m_rfcUpdateInProgress;
50 static thread partnerIdThread;
51 static recursive_mutex mtx;
52 static bool m_stopped;
53 static mutex mtx_stopped;
54 static condition_variable cv;
55 static mutex g_instance_mutex;
56 std::unordered_map<std::string, std::string> m_dict;
62 string getRawValue(
const string &key);
65 void initBSPropertiesFileName();
66 bool loadBSPropertiesIntoCache();
67 void resetCacheAndStore();
68 bool getPartnerDeviceConfig(cJSON* partnerConfig,
const string & partnerId);
70 bool clearRfcValues();
71 static void getAuthServicePartnerID();
74 #endif // XRDKCENTRALCOMBSSTORE_H