pub struct StatsJob {}Fields§
§id: Id“id” is the job id
tube: String“tube” is the name of the tube that contains this job
state: State“state” is “ready” or “delayed” or “reserved” or “buried”
pri: u32“pri” is the priority value set by the put, release, or bury commands.
age: Duration“age” is the time in seconds since the put command that created this job.
delay: Duration“delay” is the integer number of seconds to wait before putting this job in the ready queue.
ttr: u32“ttr” – time to run – is the integer number of seconds a worker is allowed to run this job.
time_left: Duration“time-left” is the number of seconds left until the server puts this job into the ready queue. This number is only meaningful if the job is reserved or delayed. If the job is reserved and this amount of time elapses before its state changes, it is considered to have timed out.
file: u32“file” is the number of the earliest binlog file containing this job. If -b wasn’t used, this will be 0.
reserves: u32“reserves” is the number of times this job has been reserved.
timeouts: u32“timeouts” is the number of times this job has timed out during a reservation.
releases: u32“releases” is the number of times a client has released this job from a reservation.
buries: u32“buries” is the number of times this job has been buried.
kicks: u32“kicks” is the number of times this job has been kicked.