diff options
Diffstat (limited to 'src/mongo/db/catalog/database.h')
-rw-r--r-- | src/mongo/db/catalog/database.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/database.h b/src/mongo/db/catalog/database.h index 69a35a41ad0..8fc2488c1f3 100644 --- a/src/mongo/db/catalog/database.h +++ b/src/mongo/db/catalog/database.h @@ -40,6 +40,7 @@ namespace mongo { class Collection; + class DatabaseCatalogEntry; class DataFile; class ExtentManager; class IndexCatalog; @@ -148,14 +149,14 @@ namespace mongo { int getProfilingLevel() const { return _profile; } const char* getProfilingNS() const { return _profileName.c_str(); } - void getCollectionNamespaces( std::list<std::string>* out ) const; - void getStats( BSONObjBuilder* output, double scale = 1 ); long long getIndexSizeForCollection( Collection* collections, BSONObjBuilder* details = NULL, int scale = 1 ); + const DatabaseCatalogEntry* getDatabaseCatalogEntry() const; + // TODO: do not think this method should exist, so should try and encapsulate better MmapV1ExtentManager* getExtentManager(); const MmapV1ExtentManager* getExtentManager() const; |