mongo::MongoFileFinder Class Reference

look up a MMF by filename. More...

#include <mmap.h>

List of all members.

Public Member Functions

MongoFilefindByPath (string path)

Detailed Description

look up a MMF by filename.

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


Member Function Documentation

MongoFile* mongo::MongoFileFinder::findByPath ( string  path  )  [inline]
Returns:
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 file:
Generated on Wed Sep 14 01:46:38 2011 for MongoDB by  doxygen 1.6.3