22 #include "mongo/base/status.h"
23 #include "mongo/platform/unordered_map.h"
24 #include "mongo/util/fail_point.h"
56 unordered_map<std::string, FailPoint*> _fpMap;
Status represents an error state or the absence thereof.
Definition: status.h:50
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
A simple thread-safe fail point implementation that can be activated and deactivated, as well as embed temporary data into it.
Definition: fail_point.h:54
Status addFailPoint(const std::string &name, FailPoint *failPoint)
Adds a new fail point to this registry.
FailPoint * getFailPoint(const std::string &name) const
void freeze()
Freezes this registry from being modified.
Class for storing FailPoint instances.
Definition: fail_point_registry.h:30