summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.h
diff options
context:
space:
mode:
authorReo Kimura <reo.kimura@mongodb.com>2020-07-22 03:03:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-17 01:16:21 +0000
commitab0703b3c6ad1607fa224c5be2b893ddbdad365e (patch)
tree7368863c9e82869c5e91096de3017a10c26294c8 /src/mongo/db/service_context.h
parent96ced1dddcb87b0bc7bafc40094d9014c04edd98 (diff)
downloadmongo-ab0703b3c6ad1607fa224c5be2b893ddbdad365e.tar.gz
SERVER-49072 Make ServiceExecutors into Decorations
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r--src/mongo/db/service_context.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h
index 4b4156a78bf..a3ee1c646b2 100644
--- a/src/mongo/db/service_context.h
+++ b/src/mongo/db/service_context.h
@@ -490,14 +490,6 @@ public:
ServiceEntryPoint* getServiceEntryPoint() const;
/**
- * Get the service executor for the service context.
- *
- * See ServiceStateMachine for how this is used. Some configurations may not have a service
- * executor registered and this will return a nullptr.
- */
- transport::ServiceExecutor* getServiceExecutor() const;
-
- /**
* Waits for the ServiceContext to be fully initialized and for all TransportLayers to have been
* added/started.
*
@@ -582,11 +574,6 @@ public:
void setTransportLayer(std::unique_ptr<transport::TransportLayer> tl);
/**
- * Binds the service executor to the service context
- */
- void setServiceExecutor(std::unique_ptr<transport::ServiceExecutor> exec);
-
- /**
* Creates a delayed execution baton with basic functionality
*/
BatonHandle makeBaton(OperationContext* opCtx) const;