MySQL  8.0.21
Source Code Documentation
Server_state_delegate Class Reference

#include <rpl_handler.h>

Inheritance diagram for Server_state_delegate:
Delegate

Public Types

typedef Server_state_observer Observer
 
- Public Types inherited from Delegate
typedef List< Observer_infoObserver_info_list
 
typedef List_iterator< Observer_infoObserver_info_iterator
 

Public Member Functions

 Server_state_delegate ()
 
int before_handle_connection (THD *thd)
 This hook MUST be invoked after ALL recovery operations are performed and the server is ready to serve clients. More...
 
int before_recovery (THD *thd)
 This hook MUST be invoked before ANY recovery action is started. More...
 
int after_engine_recovery (THD *thd)
 This hook MUST be invoked after the recovery from the engine is complete. More...
 
int after_recovery (THD *thd)
 This hook MUST be invoked after the server has completed the local recovery. More...
 
int before_server_shutdown (THD *thd)
 This hook MUST be invoked before server shutdown action is initiated. More...
 
int after_server_shutdown (THD *thd)
 This hook MUST be invoked after server shutdown operation is complete. More...
 
int after_dd_upgrade_from_57 (THD *thd)
 This hook MUST be invoked after upgrade from .frm to data dictionary. More...
 
- Public Member Functions inherited from Delegate
int add_observer (void *observer, st_plugin_int *plugin)
 
int remove_observer (void *observer)
 
Observer_info_iterator observer_info_iter ()
 
bool is_empty ()
 
int read_lock ()
 
int write_lock ()
 
int unlock ()
 
bool is_inited ()
 
 Delegate (PSI_rwlock_key key)
 
 ~Delegate ()
 

Member Typedef Documentation

◆ Observer

Constructor & Destructor Documentation

◆ Server_state_delegate()

Server_state_delegate::Server_state_delegate ( )
inline

Member Function Documentation

◆ after_dd_upgrade_from_57()

int Server_state_delegate::after_dd_upgrade_from_57 ( THD thd)

This hook MUST be invoked after upgrade from .frm to data dictionary.

Returns
0 on success, >0 otherwise.

◆ after_engine_recovery()

int Server_state_delegate::after_engine_recovery ( THD thd)

This hook MUST be invoked after the recovery from the engine is complete.

Returns
0 on success, >0 otherwise.

◆ after_recovery()

int Server_state_delegate::after_recovery ( THD thd)

This hook MUST be invoked after the server has completed the local recovery.

The server can proceed with the further operations like engaging in distributed recovery etc.

Returns
0 on success, >0 otherwise.

◆ after_server_shutdown()

int Server_state_delegate::after_server_shutdown ( THD thd)

This hook MUST be invoked after server shutdown operation is complete.

Returns
0 on success, >0 otherwise.

◆ before_handle_connection()

int Server_state_delegate::before_handle_connection ( THD thd)

This hook MUST be invoked after ALL recovery operations are performed and the server is ready to serve clients.

Returns
0 on success, >0 otherwise.

◆ before_recovery()

int Server_state_delegate::before_recovery ( THD thd)

This hook MUST be invoked before ANY recovery action is started.

Returns
0 on success, >0 otherwise.

◆ before_server_shutdown()

int Server_state_delegate::before_server_shutdown ( THD thd)

This hook MUST be invoked before server shutdown action is initiated.

Returns
0 on success, >0 otherwise.

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