public class WorkerResponse extends Object
Response containing information about a worker.
See http://schemas.taskcluster.net/queue/v1/worker-response.json#
| Modifier and Type | Class and Description |
|---|---|
class |
WorkerResponse.RecentTasksEntry |
| Modifier and Type | Field and Description |
|---|---|
boolean |
disabled
Disabling a worker allows the machine to remain alive but not accept jobs.
|
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 http://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/provisionerId
|
WorkerResponse.RecentTasksEntry[] |
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 boolean disabled
Disabling a worker allows the machine to remain alive but not accept jobs. Enabling a worker on the other hand will resume accepting jobs.
See http://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/disabled
public Date expires
Date and time after which the worker will be automatically deleted by the queue.
See http://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/expires
public Date firstClaim
Date of the first time this worker claimed a task.
See http://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 http://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/provisionerId
public WorkerResponse.RecentTasksEntry[] recentTasks
List of 20 most recent tasks claimed by the worker.
See http://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 http://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 http://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 http://schemas.taskcluster.net/queue/v1/worker-response.json#/properties/workerType
Copyright © 2014–2017 Mozilla. All rights reserved.