MySQL 9.1.0
Source Code Documentation
|
Class that intends to be a dummy end point for worker metrics. More...
#include <dummy_worker_metrics.h>
Public Member Functions | |
Dummy_worker_metrics ()=default | |
Dummy_worker_metrics & | operator= (const Dummy_worker_metrics &other)=delete |
Dummy_worker_metrics (const Dummy_worker_metrics &other)=delete | |
void | reset () override |
Resets the instruments on this instance. More... | |
Worker_metrics::Transaction_type_info | get_transaction_type () const override |
Returns the type of the currently being processed transaction. More... | |
void | set_transaction_type (Transaction_type_info type_info) override |
Set the type for the transaction being currently processed. More... | |
void | set_transaction_ongoing_full_size (int64_t amount) override |
set the full size of the ongoing transaction. More... | |
int64_t | get_transaction_ongoing_full_size () const override |
Gets the full size of the ongoing transaction. More... | |
void | inc_transaction_ongoing_progress_size (int64_t amount) override |
increment the executed size of the ongoing transaction. More... | |
void | reset_transaction_ongoing_progress_size () override |
Resets the the executed size of the ongoing transaction to 0. More... | |
int64_t | get_transaction_ongoing_progress_size () const override |
Gets the executed size of the ongoing transaction. More... | |
int64_t | get_wait_time_on_commit_order () const override |
Gets the total time waited on commit order. More... | |
void | inc_waited_time_on_commit_order (unsigned long amount) override |
Increments the number of times waited. More... | |
int64_t | get_number_of_waits_on_commit_order () const override |
Get the number of time waiting on commit order. More... | |
void | inc_number_of_waits_on_commit_order () override |
Increments the number of times waited. More... | |
Public Member Functions inherited from cs::apply::instruments::Worker_metrics | |
virtual | ~Worker_metrics ()=default |
Additional Inherited Members | |
Public Types inherited from cs::apply::instruments::Worker_metrics | |
enum class | Transaction_type_info { UNKNOWN , DML , DDL } |
This class helps signaling a transactions as DDL or DML. More... | |
Class that intends to be a dummy end point for worker metrics.
|
default |
|
delete |
|
overridevirtual |
Get the number of time waiting on commit order.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Gets the full size of the ongoing transaction.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Gets the executed size of the ongoing transaction.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Returns the type of the currently being processed transaction.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Gets the total time waited on commit order.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Increments the number of times waited.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
increment the executed size of the ongoing transaction.
amount | the size amount to increment. |
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Increments the number of times waited.
Implements cs::apply::instruments::Worker_metrics.
|
delete |
|
overridevirtual |
Resets the instruments on this instance.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Resets the the executed size of the ongoing transaction to 0.
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
set the full size of the ongoing transaction.
amount | new size |
Implements cs::apply::instruments::Worker_metrics.
|
overridevirtual |
Set the type for the transaction being currently processed.
type_info | what is the type: UNKONWN, DML or DDL |
Implements cs::apply::instruments::Worker_metrics.