#include <namespace_index.h>
|
| NamespaceIndex (OperationContext *opCtx, const std::string &dir, const std::string &database) |
|
| ~NamespaceIndex () |
|
void | close (OperationContext *opCtx) |
| Must be called before destruction. More...
|
|
bool | pathExists () const |
|
void | init (OperationContext *opCtx) |
|
void | add_ns (OperationContext *opCtx, StringData ns, const DiskLoc &loc, bool capped) |
|
void | add_ns (OperationContext *opCtx, StringData ns, const NamespaceDetails *details) |
|
void | add_ns (OperationContext *opCtx, const Namespace &ns, const NamespaceDetails *details) |
|
NamespaceDetails * | details (StringData ns) const |
|
NamespaceDetails * | details (const Namespace &ns) const |
|
void | kill_ns (OperationContext *opCtx, StringData ns) |
|
bool | allocated () const |
|
void | getCollectionNamespaces (std::list< std::string > *tofill) const |
|
boost::filesystem::path | path () const |
|
unsigned long long | fileLength () const |
|
◆ NamespaceIndex()
mongo::NamespaceIndex::NamespaceIndex |
( |
OperationContext * |
opCtx, |
|
|
const std::string & |
dir, |
|
|
const std::string & |
database |
|
) |
| |
◆ ~NamespaceIndex()
mongo::NamespaceIndex::~NamespaceIndex |
( |
| ) |
|
◆ add_ns() [1/3]
void mongo::NamespaceIndex::add_ns |
( |
OperationContext * |
opCtx, |
|
|
StringData |
ns, |
|
|
const DiskLoc & |
loc, |
|
|
bool |
capped |
|
) |
| |
◆ add_ns() [2/3]
void mongo::NamespaceIndex::add_ns |
( |
OperationContext * |
opCtx, |
|
|
StringData |
ns, |
|
|
const NamespaceDetails * |
details |
|
) |
| |
◆ add_ns() [3/3]
◆ allocated()
bool mongo::NamespaceIndex::allocated |
( |
| ) |
const |
|
inline |
◆ close()
void mongo::NamespaceIndex::close |
( |
OperationContext * |
opCtx | ) |
|
|
inline |
Must be called before destruction.
◆ details() [1/2]
◆ details() [2/2]
◆ fileLength()
unsigned long long mongo::NamespaceIndex::fileLength |
( |
| ) |
const |
|
inline |
◆ getCollectionNamespaces()
void mongo::NamespaceIndex::getCollectionNamespaces |
( |
std::list< std::string > * |
tofill | ) |
const |
◆ init()
void mongo::NamespaceIndex::init |
( |
OperationContext * |
opCtx | ) |
|
◆ kill_ns()
void mongo::NamespaceIndex::kill_ns |
( |
OperationContext * |
opCtx, |
|
|
StringData |
ns |
|
) |
| |
◆ maybeMkdir()
void mongo::NamespaceIndex::maybeMkdir |
( |
| ) |
const |
|
private |
◆ MONGO_DISALLOW_COPYING()
◆ path()
boost::filesystem::path mongo::NamespaceIndex::path |
( |
| ) |
const |
◆ pathExists()
bool mongo::NamespaceIndex::pathExists |
( |
| ) |
const |
◆ _database
const std::string mongo::NamespaceIndex::_database |
|
private |
◆ _dir
const std::string mongo::NamespaceIndex::_dir |
|
private |
◆ _f
◆ _ht
The documentation for this class was generated from the following files:
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/catalog/namespace_index.cpp