Storage Engine API
wiredtiger_server_status.h
Go to the documentation of this file.
1 // wiredtiger_server_status.h
2 
31 #pragma once
32 
33 #include "mongo/db/commands/server_status.h"
34 
35 namespace mongo {
36 
37 class WiredTigerKVEngine;
38 
42 class WiredTigerServerStatusSection : public ServerStatusSection {
43 public:
45  virtual bool includeByDefault() const;
46  virtual BSONObj generateSection(OperationContext* opCtx,
47  const BSONElement& configElement) const;
48 
49 private:
51 };
52 
53 } // namespace mongo
WiredTigerKVEngine * _engine
Definition: wiredtiger_server_status.h:50
KVEngine * engine
Definition: kv_engine_test_timestamps.cpp:205
Copyright (C) 2014 MongoDB Inc.
Definition: bson_collection_catalog_entry.cpp:38
Adds "wiredTiger" to the results of db.serverStatus().
Definition: wiredtiger_server_status.h:42
WiredTigerServerStatusSection(WiredTigerKVEngine *engine)
Definition: wiredtiger_server_status.cpp:50
virtual bool includeByDefault() const
Definition: wiredtiger_server_status.cpp:53
Definition: wiredtiger_kv_engine.h:65
virtual BSONObj generateSection(OperationContext *opCtx, const BSONElement &configElement) const
Definition: wiredtiger_server_status.cpp:57
Collection *const OperationContext *const opCtx
Definition: collection_impl.cpp:80