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;
Class for storing FailPoint instances.
Definition fail_point_registry.h:30
FailPoint * getFailPoint(const std::string &name) const
Status addFailPoint(const std::string &name, FailPoint *failPoint)
Adds a new fail point to this registry.
void freeze()
Freezes this registry from being modified.
A simple thread-safe fail point implementation that can be activated and deactivated,...
Definition fail_point.h:54
the main MongoDB namespace
Definition bulk_operation_builder.h:24
MONGO_CLIENT_API Status(MONGO_CLIENT_FUNC *saslClientAuthenticate)(DBClientWithCommands *client
Attempts to authenticate "client" using the SASL protocol.