diff options
Diffstat (limited to 'src/mongo/db/free_mon/free_mon_controller.h')
-rw-r--r-- | src/mongo/db/free_mon/free_mon_controller.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mongo/db/free_mon/free_mon_controller.h b/src/mongo/db/free_mon/free_mon_controller.h index 92e1edab444..9307ab7570c 100644 --- a/src/mongo/db/free_mon/free_mon_controller.h +++ b/src/mongo/db/free_mon/free_mon_controller.h @@ -157,33 +157,33 @@ private: private: /** - * Private enum to track state. - * - * +-----------------------------------------------------------+ - * | v - * +-------------+ +----------+ +----------------+ +-------+ - * | kNotStarted | --> | kStarted | --> | kStopRequested | --> | kDone | - * +-------------+ +----------+ +----------------+ +-------+ - */ + * Private enum to track state. + * + * +-----------------------------------------------------------+ + * | v + * +-------------+ +----------+ +----------------+ +-------+ + * | kNotStarted | --> | kStarted | --> | kStopRequested | --> | kDone | + * +-------------+ +----------+ +----------------+ +-------+ + */ enum class State { /** - * Initial state. Either start() or stop() can be called next. - */ + * Initial state. Either start() or stop() can be called next. + */ kNotStarted, /** - * start() has been called. stop() should be called next. - */ + * start() has been called. stop() should be called next. + */ kStarted, /** - * stop() has been called, and the background thread is in progress of shutting down - */ + * stop() has been called, and the background thread is in progress of shutting down + */ kStopRequested, /** - * Controller has been stopped. - */ + * Controller has been stopped. + */ kDone, }; |