summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/network_interface.h')
-rw-r--r--src/mongo/executor/network_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/executor/network_interface.h b/src/mongo/executor/network_interface.h
index 8e10bfd30ca..a925fd81008 100644
--- a/src/mongo/executor/network_interface.h
+++ b/src/mongo/executor/network_interface.h
@@ -161,6 +161,11 @@ public:
*/
virtual bool onNetworkThread() = 0;
+ /**
+ * Drops all connections to the given host in the connection pool.
+ */
+ virtual void dropConnections(const HostAndPort& hostAndPort) = 0;
+
protected:
NetworkInterface();
};