#include <stage_monitor_handler.h>
◆ Plugin_stage_monitor_handler()
Plugin_stage_monitor_handler::Plugin_stage_monitor_handler |
( |
| ) |
|
◆ ~Plugin_stage_monitor_handler()
Plugin_stage_monitor_handler::~Plugin_stage_monitor_handler |
( |
| ) |
|
|
virtual |
◆ end_stage()
void Plugin_stage_monitor_handler::end_stage |
( |
| ) |
|
◆ initialize_stage_monitor()
int Plugin_stage_monitor_handler::initialize_stage_monitor |
( |
| ) |
|
Fetch the registry and the service for this class.
- Returns
- 0 in case of success, or 1 otherwise
◆ set_completed_work()
void Plugin_stage_monitor_handler::set_completed_work |
( |
ulonglong |
completed_work | ) |
|
Set the currently completed work for this stage.
◆ set_estimated_work()
void Plugin_stage_monitor_handler::set_estimated_work |
( |
ulonglong |
estimated_work | ) |
|
Set the currently estimated work for this stage.
◆ set_stage()
Set that a new stage is now in progress.
- Parameters
-
key | The PSI key for the stage |
file | the file for this stage |
line | the line of the file for this stage |
estimated_work | what work is estimated for this stage |
work_completed | what work already completed for this stage |
- Returns
- 0 in case of success, or 1 otherwise
◆ terminate_stage_monitor()
int Plugin_stage_monitor_handler::terminate_stage_monitor |
( |
| ) |
|
Terminate the stage monitor.
It means the stage monitor is declared as not running and the service is released.
- Returns
- 0 in case of success, or 1 otherwise
◆ generic_service
The generic service handle for the PSI stage service.
◆ service_running
bool Plugin_stage_monitor_handler::service_running |
|
private |
Is the reference to the PSI stage service still valid.
◆ stage_monitor_lock
Lock for use vs termination scenarios.
◆ stage_progress_handler
The progress handler when a stage is running.
The documentation for this class was generated from the following files: