public class CountPendingTasksResponse extends Object
Response to a request for the number of pending tasks for a given provisionerId and workerType.
See http://schemas.taskcluster.net/queue/v1/pending-tasks-response.json#
| Modifier and Type | Field and Description |
|---|---|
int |
pendingTasks
An approximate number of pending tasks for the given
provisionerId and workerType. |
String |
provisionerId
Unique identifier for the provisioner
|
String |
workerType
Identifier for worker type within the specified provisioner
|
| Constructor and Description |
|---|
CountPendingTasksResponse() |
public int pendingTasks
An approximate number of pending tasks for the given provisionerId and workerType. This is based on Azure Queue Storage meta-data API, thus, number of reported here may be higher than actual number of pending tasks. But there cannot be more pending tasks reported here. Ie. this is an upper-bound on the number of pending tasks.
Mininum: 0
See http://schemas.taskcluster.net/queue/v1/pending-tasks-response.json#/properties/pendingTasks
public String provisionerId
Unique identifier for the provisioner
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See http://schemas.taskcluster.net/queue/v1/pending-tasks-response.json#/properties/provisionerId
public String workerType
Identifier for worker type within the specified provisioner
Syntax: ^([a-zA-Z0-9-_]*)$ Min length: 1 Max length: 22
See http://schemas.taskcluster.net/queue/v1/pending-tasks-response.json#/properties/workerType
Copyright © 2014–2016 Mozilla. All rights reserved.