public class WorkerResponse extends Object
Response containing information about a worker.
See https://schemas.taskcluster.net/queue/v1/worker-response.json#
Modifier and Type | Class and Description |
---|---|
class |
WorkerResponse.WorkerAction |
Modifier and Type | Field and Description |
---|---|
WorkerResponse.WorkerAction[] |
actions
|
Date |
expires
Date and time after which the worker will be automatically deleted by the queue.
|
Date |
firstClaim
Date of the first time this worker claimed a task.
|
String |
provisionerId
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/provisionerId
|
Date |
quarantineUntil
Quarantining a worker allows the machine to remain alive but not accept jobs.
|
TaskRun[] |
recentTasks
List of 20 most recent tasks claimed by the worker.
|
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 . |
String |
workerType
WorkerType name.
|
Constructor and Description |
---|
WorkerResponse() |
public WorkerResponse.WorkerAction[] actions
public Date expires
Date and time after which the worker will be automatically deleted by the queue.
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/expires
public Date firstClaim
Date of the first time this worker claimed a task.
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/firstClaim
public String provisionerId
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/provisionerId
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).
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/quarantineUntil
public TaskRun[] recentTasks
List of 20 most recent tasks claimed by the worker.
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/recentTasks
public String workerGroup
Identifier for group that worker who executes this run is a part of, this identifier is mainly used for efficient routing.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/workerGroup
public String workerId
Identifier for worker evaluating this run within given workerGroup
.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/workerId
public String workerType
WorkerType name.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/workerType
Copyright © 2014–2018 Mozilla. All rights reserved.