summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_executor_synchronous.h
diff options
context:
space:
mode:
authorAmirsaman Memaripour <amirsaman.memaripour@mongodb.com>2020-07-27 22:17:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-28 23:31:54 +0000
commit165dfb50f7693cadb80e988d08222700b1cc6b5c (patch)
tree4f8512dcb1c9637feee9cbf7693d46185190cdc1 /src/mongo/transport/service_executor_synchronous.h
parent48a125c2ae350d0e915c9aa3e6212dda190bacb5 (diff)
downloadmongo-165dfb50f7693cadb80e988d08222700b1cc6b5c.tar.gz
SERVER-49106 Add poll function to the ServiceExecutor API
Diffstat (limited to 'src/mongo/transport/service_executor_synchronous.h')
-rw-r--r--src/mongo/transport/service_executor_synchronous.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/transport/service_executor_synchronous.h b/src/mongo/transport/service_executor_synchronous.h
index 19a651f9f09..940382b53e8 100644
--- a/src/mongo/transport/service_executor_synchronous.h
+++ b/src/mongo/transport/service_executor_synchronous.h
@@ -57,6 +57,9 @@ public:
return Mode::kSynchronous;
}
+ void runOnDataAvailable(Session* session,
+ OutOfLineExecutor::Task onCompletionCallback) override;
+
void appendStats(BSONObjBuilder* bob) const override;
private: