MySQL 8.3.0
Source Code Documentation
mysql_harness::ShutdownPending Class Reference

#include <process_state_component.h>

Public Types

enum class  Reason { NONE , REQUESTED , FATAL_ERROR }
 Reason for shutdown. More...
 

Public Member Functions

std::string message () const
 
void message (const std::string &msg)
 
Reason reason () const
 
void reason (Reason r)
 

Private Attributes

Reason reason_ {Reason::NONE}
 
std::string message_
 

Member Enumeration Documentation

◆ Reason

Reason for shutdown.

Enumerator
NONE 
REQUESTED 
FATAL_ERROR 

Member Function Documentation

◆ message() [1/2]

std::string mysql_harness::ShutdownPending::message ( ) const
inline

◆ message() [2/2]

void mysql_harness::ShutdownPending::message ( const std::string &  msg)
inline

◆ reason() [1/2]

Reason mysql_harness::ShutdownPending::reason ( ) const
inline

◆ reason() [2/2]

void mysql_harness::ShutdownPending::reason ( Reason  r)
inline

Member Data Documentation

◆ message_

std::string mysql_harness::ShutdownPending::message_
private

◆ reason_

Reason mysql_harness::ShutdownPending::reason_ {Reason::NONE}
private

The documentation for this class was generated from the following file: