public class Worker extends Object
Modifier and Type | Field and Description |
---|---|
Date |
firstClaim
Date of the first time this worker claimed a task.
|
TaskRun |
latestTask
The most recent claimed taskSee https://schemas.taskcluster.net/queue/v1/list-workers-response.json#/properties/workers/items/properties/latestTask
|
Date |
quarantineUntil
Quarantining a worker allows the machine to remain alive but not accept jobs.
|
String |
workerGroup
Identifier for the worker group containing this worker.
|
String |
workerId
Identifier for this worker (unique within this worker group).
|
Constructor and Description |
---|
Worker() |
public Date firstClaim
Date of the first time this worker claimed a task.
public TaskRun latestTask
The most recent claimed task
public Date quarantineUntil
Quarantining a worker allows the machine to remain alive but not accept jobs. Once the quarantineUntil time has elapsed, the worker resumes accepting jobs. Note that a quarantine can be lifted by setting quarantineUntil
to the present time (or somewhere in the past).
public String workerGroup
Identifier for the worker group containing this worker.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
public String workerId
Identifier for this worker (unique within this worker group).
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
Copyright © 2014–2018 Mozilla. All rights reserved.