-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Platforms 2018-04-23
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Implement/**
- Storage tier for Free Monitoring. Provides access to storage engine.
*/
class FreeMonStorage { public: /** * Reads document from disk if it exists. */ static boost::optional<FreeMonStorageState> read(OperationContext* opCtx); /** * Replaces document on disk with contents of document. Creates document if it does not exist. */ static bool replace(OperationContext* opCtx, const FreeMonStorageState& doc); /** * Deletes document on disk if it exists. */ static bool deleteState(OperationContext* opCtx); /** * Reads first document from local.clustermanager. */ static boost::optional<BSONObj> readClusterManagerState(OperationContext* opCtx); };