public class TaskStatusStructure.Runs extends Object
List of runs, ordered so that index i has runId == i
| Modifier and Type | Field and Description |
|---|---|
Object |
reasonCreated
Reason for the creation of this run, more reasons may be added in the future."
|
Object |
reasonResolved
Reason that run was resolved, this is mainly useful for runs resolved as
exception. |
Date |
resolved
Date-time at which this run was resolved, ie.
|
int |
runId
Id of this task run,
run-ids always starts from 0 |
Date |
scheduled
Date-time at which this run was scheduled, ie.
|
Date |
started
Date-time at which this run was claimed, ie.
|
Object |
state
State of this run
|
Date |
takenUntil
Time at which the run expires and is resolved as
failed, if the run isn’t reclaimed. |
String |
workerGroup
Identifier for group that worker who executes this run is a part of, this identifier is mainly used for efficient routing.
|
String |
workerId
Identifier for worker evaluating this run within given
workerGroup. |
| Constructor and Description |
|---|
Runs() |
public Object reasonCreated
Reason for the creation of this run, more reasons may be added in the future."
public Object reasonResolved
Reason that run was resolved, this is mainly useful for runs resolved as exception. Note, more reasons may be added in the future, also this property is only available after the run is resolved.
public Date resolved
Date-time at which this run was resolved, ie. when the run changed state from running to either completed, failed or exception. This property is only present after the run as been resolved.
public int runId
Id of this task run, run-ids always starts from 0
public Date scheduled
Date-time at which this run was scheduled, ie. when the run was created in state pending.
public Date started
Date-time at which this run was claimed, ie. when the run changed state from pending to running. This property is only present after the run has been claimed.
public Object state
State of this run
public Date takenUntil
Time at which the run expires and is resolved as failed, if the run isn’t reclaimed. Note, only present after the run has been claimed.
public String workerGroup
Identifier for group that worker who executes this run is a part of, this identifier is mainly used for efficient routing. Note, this property is only present after the run is claimed.
public String workerId
Identifier for worker evaluating this run within given workerGroup. Note, this property is only available after the run has been claimed.
Copyright © 2014–2015 Mozilla. All rights reserved.