#include <gcs_view_modification_notifier.h>
◆ Plugin_gcs_view_modification_notifier()
Plugin_gcs_view_modification_notifier::Plugin_gcs_view_modification_notifier |
( |
| ) |
|
◆ ~Plugin_gcs_view_modification_notifier()
Plugin_gcs_view_modification_notifier::~Plugin_gcs_view_modification_notifier |
( |
| ) |
|
|
virtual |
◆ cancel_view_modification()
Signals that a view modification has been cancelled.
- Parameters
-
[in] | errnr | error that did cause the view modification to be cancelled |
◆ end_view_modification()
void Plugin_gcs_view_modification_notifier::end_view_modification |
( |
| ) |
|
Signals that a view modification has ended.
◆ get_error()
int Plugin_gcs_view_modification_notifier::get_error |
( |
| ) |
|
Get the error number that did happen on view modification.
This method must only be called after view modification is complete.
- Returns
- Operation
- Return values
-
0 | OK (no error) |
>0 | error number |
◆ is_cancelled()
bool Plugin_gcs_view_modification_notifier::is_cancelled |
( |
| ) |
|
Check if view modification was cancelled.
This method must only be called after view modification is complete.
- Return values
-
true | view modification was cancelled |
false | otherwise |
◆ is_view_modification_ongoing()
bool Plugin_gcs_view_modification_notifier::is_view_modification_ongoing |
( |
| ) |
|
Checks if there is a view modification ongoing.
- Return values
-
true | there is a view modification ongoing |
false | otherwise |
◆ start_view_modification()
void Plugin_gcs_view_modification_notifier::start_view_modification |
( |
| ) |
|
Signals that a view modification is about to start.
◆ wait_for_view_modification()
Method in which one waits for the view modification to end.
- Parameters
-
[in] | timeout | how long one wants to wait, in seconds |
- Returns
- Operation status
- Return values
-
false | OK |
true | error (timeout or view modification cancelled) |
◆ cancelled_view_change
bool Plugin_gcs_view_modification_notifier::cancelled_view_change |
|
private |
◆ error
int Plugin_gcs_view_modification_notifier::error |
|
private |
◆ view_changing
bool Plugin_gcs_view_modification_notifier::view_changing |
|
private |
◆ wait_for_view_cond
mysql_cond_t Plugin_gcs_view_modification_notifier::wait_for_view_cond |
|
private |
◆ wait_for_view_mutex
mysql_mutex_t Plugin_gcs_view_modification_notifier::wait_for_view_mutex |
|
private |
The documentation for this class was generated from the following files: