MySQL 9.1.0
Source Code Documentation
|
Sentry class that guards the Binlog_sender context and, at destruction, will prepare it for the next event to be processed. More...
Public Member Functions | |
Sender_context_guard (Binlog_sender &target, mysql::binlog::event::Log_event_type event_type) | |
Class constructor that simply stores, internally, the reference for the Binlog_sender to be guarded and the values to be set upon destruction. More... | |
virtual | ~Sender_context_guard () |
Class destructor that will set the proper context of the guarded Binlog_sender object. More... | |
Private Attributes | |
Binlog_sender & | m_target |
The object to be guarded. More... | |
mysql::binlog::event::Log_event_type | m_event_type |
The currently being processed event type. More... | |
Sentry class that guards the Binlog_sender context and, at destruction, will prepare it for the next event to be processed.
|
inline |
Class constructor that simply stores, internally, the reference for the Binlog_sender
to be guarded and the values to be set upon destruction.
target | The Binlog_sender object to be guarded. |
event_type | The currently processed event type, to be used for context of the next event processing round. |
|
inlinevirtual |
Class destructor that will set the proper context of the guarded Binlog_sender
object.
|
private |
The currently being processed event type.
|
private |
The object to be guarded.