MongoDB  2.7.0
Public Member Functions | List of all members
mongo::MongoFileFinder Class Reference

look up a MMF by filename. More...

#include <mmap.h>

Inheritance diagram for mongo::MongoFileFinder:

Public Member Functions

MongoFilefindByPath (const std::string &path) const

Detailed Description

look up a MMF by filename.

scoped mutex locking convention. example: MMFFinderByName finder; DurableMappedFile *a = finder.find("file_name_a"); DurableMappedFile *b = finder.find("file_name_b");

Member Function Documentation

MongoFile * mongo::MongoFileFinder::findByPath ( const std::string &  path) const
The MongoFile object associated with the specified file name. If no file is open with the specified name, returns null.

The documentation for this class was generated from the following files: