MySqlApplyErrorWorker

class oci.database_management.models.MySqlApplyErrorWorker(**kwargs)

Bases: object

If the replica is multi-threaded, error from worker threads. Otherwise error from the applier thread.

Methods

__init__(**kwargs) Initializes a new MySqlApplyErrorWorker object with values from keyword arguments.

Attributes

last_error_message [Required] Gets the last_error_message of this MySqlApplyErrorWorker.
last_error_number [Required] Gets the last_error_number of this MySqlApplyErrorWorker.
time_last_error [Required] Gets the time_last_error of this MySqlApplyErrorWorker.
__init__(**kwargs)

Initializes a new MySqlApplyErrorWorker object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • last_error_number (int) – The value to assign to the last_error_number property of this MySqlApplyErrorWorker.
  • last_error_message (str) – The value to assign to the last_error_message property of this MySqlApplyErrorWorker.
  • time_last_error (datetime) – The value to assign to the time_last_error property of this MySqlApplyErrorWorker.
last_error_message

[Required] Gets the last_error_message of this MySqlApplyErrorWorker. The error message of the most recent error that caused the worker thread to stop.

Returns:The last_error_message of this MySqlApplyErrorWorker.
Return type:str
last_error_number

[Required] Gets the last_error_number of this MySqlApplyErrorWorker. The error number of the most recent error that caused the worker thread to stop.

Returns:The last_error_number of this MySqlApplyErrorWorker.
Return type:int
time_last_error

[Required] Gets the time_last_error of this MySqlApplyErrorWorker. The timestamp when the most recent worker error occurred.

Returns:The time_last_error of this MySqlApplyErrorWorker.
Return type:datetime