summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r--src/mongo/db/service_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h
index 31ad873085a..548efe1cd88 100644
--- a/src/mongo/db/service_context.h
+++ b/src/mongo/db/service_context.h
@@ -511,6 +511,11 @@ public:
*/
void setServiceExecutor(std::unique_ptr<transport::ServiceExecutor> exec);
+ /**
+ * Creates a delayed execution baton with basic functionality
+ */
+ BatonHandle makeBaton(OperationContext* opCtx) const;
+
private:
class ClientObserverHolder {
public: