diff options
author | Reo Kimura <reo.kimura@mongodb.com> | 2020-07-22 03:03:43 +0000 |
---|---|---|
committer | Reo Kimura <reo.kimura@mongodb.com> | 2020-08-07 18:51:05 +0000 |
commit | 120b213146dc93d8777371650d082dd15b1a1c0b (patch) | |
tree | e9c961f52fc308429d188bbb5e61dffbd01d1e21 /src/mongo/transport/service_executor_fixed.h | |
parent | 9238911d0a46f26419ecdbec4293457b9e1a891d (diff) | |
download | mongo-120b213146dc93d8777371650d082dd15b1a1c0b.tar.gz |
SERVER-49072 Created SE decorations, rewrote SEPI start/shutdown of SEsserver-49072
Diffstat (limited to 'src/mongo/transport/service_executor_fixed.h')
-rw-r--r-- | src/mongo/transport/service_executor_fixed.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/transport/service_executor_fixed.h b/src/mongo/transport/service_executor_fixed.h index c418296db8b..ae82a530d02 100644 --- a/src/mongo/transport/service_executor_fixed.h +++ b/src/mongo/transport/service_executor_fixed.h @@ -32,6 +32,7 @@ #include <memory> #include "mongo/base/status.h" +#include "mongo/db/service_context.h" #include "mongo/platform/atomic_word.h" #include "mongo/platform/mutex.h" #include "mongo/stdx/condition_variable.h" @@ -54,6 +55,8 @@ public: explicit ServiceExecutorFixed(ThreadPool::Options options); virtual ~ServiceExecutorFixed(); + static ServiceExecutorFixed* get(ServiceContext* ctx); + Status start() override; Status shutdown(Milliseconds timeout) override; Status schedule(Task task, ScheduleFlags flags) override; |