class Beetle::JobTaskExec
- Beetle::JobTaskExec
- Reference
- Object
Overview
Defines the statistics captured for an individual Task subclass as part of
a Job execution.
As with JobExec, you never instantiate this class directly.
It contains the following fields:
host- The actual host URL used for aTaskexecutionweight- SeeJobTask#weightsleep_min_msec- SeeJobTask#sleep_min_msecsleep_max_msec- SeeJobTask#sleep_max_msecthreshold_avg_usec- SeeJobTask#threshold_avg_usecthreshold_max_usec- SeeJobTask#threshold_max_usecn_task- The number of times this task was executed for thisJobexecution.n_success- The number of times the task execution succeeded (return2xx).n_fail- The number of times the task execution failed (return not2xx).min_usec- The minimum task execution duration in microseconds.max_usec- The maxumum task execution duration in microseconds.avg_usec- The average task execution duration in microseconds.tot_usec- The total task execution duration in microseconds.threshold_avg_exceeded- Set totrueifthreshold_avg_usecis non-zero for aJobTaskand theavg_usecvalue exceeds it.threshold_max_exceeded- Set totrueifthreshold_max_usecis non-zero for aJobTaskand themax_usecvalue exceeds it.
Included Modules
- JSON::Serializable
Defined in:
beetle/job-task-exec.crConstructors
Instance Method Summary
-
#clone
Returns a copy of
selfwith all instance variables cloned.