MongoDB C++ Driver
legacy-1.1.2
|
Class for storing FailPoint instances. More...
#include <fail_point_registry.h>
Public Member Functions | |
Status | addFailPoint (const std::string &name, FailPoint *failPoint) |
Adds a new fail point to this registry. More... | |
FailPoint * | getFailPoint (const std::string &name) const |
void | freeze () |
Freezes this registry from being modified. | |
Class for storing FailPoint instances.
Adds a new fail point to this registry.
Duplicate names are not allowed.
FailPoint* mongo::FailPointRegistry::getFailPoint | ( | const std::string & | name | ) | const |