7#include <unordered_map>
12#define URM_IDENTIFIER "urm"
13#define REQ_BUFFER_SIZE 580
17 uint32_t mMaxConcurrentRequests;
18 uint32_t mMaxResourcesPerRequest;
19 uint32_t mDesiredThreadCount;
20 uint32_t mMaxScalingCapacity;
21 uint32_t mListeningPort;
22 uint32_t mPulseDuration;
23 uint32_t mClientGarbageCollectorDuration;
25 uint32_t mCleanupBatchSize;
26 double mPenaltyFactor;
28 uint32_t mPluginCount;
33 std::string targetName;
34 int32_t mTotalCoreCount;
35 int32_t mTotalClusterCount;
44 static int32_t serverOnlineStatus;
48 static const std::string mTargetConfDir;
51 static const std::string mCommonResourcesPath;
52 static const std::string mCustomResourcesPath;
53 static const std::string mDevIndexedResourcesPath;
55 static const std::string mCommonSignalsPath;
56 static const std::string mCustomSignalsPath;
57 static const std::string mDevIndexedSignalsPath;
59 static const std::string mCommonPropertiesPath;
60 static const std::string mCustomPropertiesPath;
61 static const std::string mDevIndexedPropertiesPath;
63 static const std::string mCommonInitPath;
64 static const std::string mCustomInitPath;
65 static const std::string mDevIndexedInitPath;
68 static const std::string mCustomTargetPath;
69 static const std::string mDevIndexedTargetPath;
71 static const std::string mCustomExtFeaturesPath;
72 static const std::string mDevIndexedExtFeatPath;
74 static const std::string mCustomAppConfigPath;
75 static const std::string mDevIndexedAppPath;
77 static const std::string focusedCgroup;
78 static const std::string mDeviceNamePath;
79 static const std::string mBaseCGroupPath;
80 static const std::string mPersistenceFile;
83 static MetaConfigs metaConfigs;
84 static TargetConfigs targetConfigs;
86 static int32_t isServerOnline();
87 static void setServerOnlineStatus(int32_t isOnline);