![]() |
Storage Engine API
|
#include <memory>#include "mongo/base/string_data.h"#include "mongo/db/service_context.h"#include "mongo/db/storage/storage_engine.h"Go to the source code of this file.
Namespaces | |
| mongo | |
| Copyright (C) 2014 MongoDB Inc. | |
Functions | |
| void | mongo::initializeStorageEngine (ServiceContext *service) |
| Initializes the storage engine on "service". More... | |
| void | mongo::shutdownGlobalStorageEngineCleanly (ServiceContext *service) |
| Shuts down storage engine cleanly and releases any locks on mongod.lock. More... | |
| void | mongo::createLockFile (ServiceContext *service) |
| Creates the lock file used to prevent concurrent processes from accessing the data files, as appropriate. More... | |
| void | mongo::registerStorageEngine (ServiceContext *service, std::unique_ptr< StorageEngine::Factory > factory) |
| Registers a storage engine onto the given "service". More... | |
| bool | mongo::isRegisteredStorageEngine (ServiceContext *service, StringData name) |
| Returns true if "name" refers to a registered storage engine. More... | |
| StorageEngine::Factory * | mongo::getFactoryForStorageEngine (ServiceContext *context, StringData name) |
| Returns an unowned pointer to the factory for the named storage engine, or nullptr. More... | |
| Status | mongo::validateStorageOptions (ServiceContext *service, const BSONObj &storageEngineOptions, stdx::function< Status(const StorageEngine::Factory *const, const BSONObj &)> validateFunc) |
| void | mongo::appendStorageEngineList (ServiceContext *service, BSONObjBuilder *result) |