public class ClaimWorkRequest extends Object
Request to claim a task for a worker to process.
See https://schemas.taskcluster.net/queue/v1/claim-work-request.json#
Modifier and Type | Field and Description |
---|---|
int |
tasks
Number of tasks to attempt to claim.
|
String |
workerGroup
Identifier for group that worker claiming the task is a part of.
|
String |
workerId
Identifier for worker within the given workerGroupSyntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22See https://schemas.taskcluster.net/queue/v1/claim-work-request.json#/properties/workerId
|
Constructor and Description |
---|
ClaimWorkRequest() |
public int tasks
Number of tasks to attempt to claim.
Default: 1 Mininum: 1 Maximum: 32
See https://schemas.taskcluster.net/queue/v1/claim-work-request.json#/properties/tasks
public String workerGroup
Identifier for group that worker claiming the task is a part of.
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/claim-work-request.json#/properties/workerGroup
public String workerId
Identifier for worker within the given workerGroup
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See https://schemas.taskcluster.net/queue/v1/claim-work-request.json#/properties/workerId
Copyright © 2014–2018 Mozilla. All rights reserved.