diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2014-11-04 13:02:03 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2014-11-04 13:06:26 -0500 |
commit | 2a6de7b46d008d76e3cbc5485d15638e133d27b9 (patch) | |
tree | a881b6ea69b36ed62de6e0b5bdfcc1568e5c377f /src/mongo/db/repl/network_interface_impl.h | |
parent | 38de3485ec850c8e21fcfab94e9c378ac73d6346 (diff) | |
download | mongo-2a6de7b46d008d76e3cbc5485d15638e133d27b9.tar.gz |
SERVER-15949:add diagnostics to network executor
Diffstat (limited to 'src/mongo/db/repl/network_interface_impl.h')
-rw-r--r-- | src/mongo/db/repl/network_interface_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/network_interface_impl.h b/src/mongo/db/repl/network_interface_impl.h index aa5c6955ead..717bfa8a5ae 100644 --- a/src/mongo/db/repl/network_interface_impl.h +++ b/src/mongo/db/repl/network_interface_impl.h @@ -49,6 +49,7 @@ namespace repl { public: explicit NetworkInterfaceImpl(); virtual ~NetworkInterfaceImpl(); + virtual std::string getDiagnosticString(); virtual void startup(); virtual void shutdown(); virtual void waitForWork(); @@ -122,6 +123,8 @@ namespace repl { // requests. boost::scoped_ptr<ConnectionPool> _connPool; // (R) + // Number of active network requests + int _numActiveNetworkRequests; }; } // namespace repl |