int|null | Number of seconds this task needs to remain leased for, or null for a default lease. |
int|null | Number of times the task will retry before permanent failure. Return `null` to retry indefinitely. |
PhabricatorWorkerTask | $task | The task itself. This object is probably useful mostly to examine the failure count if you want to implement staggered retries, or to examine the execution exception if you want to react to different failures in different ways. |
int|null | Number of seconds to wait between retries, or null for a default retry period (currently 60 seconds). |
This method is not documented.
PhabricatorWorkerTask | $task | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
string | $class | Task class to queue. |
array | $data | Data for the followup task. |
array | $options | Options for the followup task. |
list<tuple<string, wild, int|null>> | Queued task specifications. |
map<string, | $defaults | wild> Optional default options. |
list<id> | $ids | List of task IDs to try to awaken. |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
DrydockResource | $resource | |
DrydockLease | $lease | |
This method is not documented.
This method is not documented.
This method is not documented.
DrydockLease | $lease | |
Exception | $ex | |
This method is not documented.
This method is not documented.
DrydockLease | $lease | |
DrydockCommand | $command | |
DrydockLease | $lease | Requested lease. |
This method is not documented.
DrydockLease | $lease | |
array | $blueprints | |
This method is not documented.
This method is not documented.
This method is not documented.
DrydockLease | $lease | |
array | $blueprints | |
This method is not documented.
DrydockLease | $lease | |
array | $resources | |
This method is not documented.
DrydockLease | $lease | |
array | $blueprints | |
This method is not documented.
DrydockLease | $lease | |
array | $resources | |
DrydockLease | $lease | Requested lease. |
list<DrydockBlueprint> | List of qualifying blueprints. |
list<DrydockBlueprint> | $blueprints | Blueprints which may produce suitable resources. |
DrydockLease | $lease | Requested lease. |
list<DrydockResource> | Resources which may be able to allocate the lease. |
list<DrydockResource> | $resources | Candidate resources. |
DrydockLease | $lease | Acquiring lease. |
list<DrydockResource> | Resources which the lease may be able to acquire. |
list<DrydockBlueprint> | $blueprints | List of blueprints. |
DrydockLease | $lease | |
list<DrydockBlueprint> | List with blueprints that can not allocate a resource for the lease right now removed. |
list<DrydockBlueprint> | $blueprints | List of blueprints. |
DrydockLease | $lease | Requested lease. |
list<DrydockBlueprint> | Ranked list of blueprints. |
list<DrydockResource> | $resources | List of resources. |
DrydockLease | $lease | Requested lease. |
list<DrydockResource> | Ranked list of resources. |
DrydockBlueprint | $blueprint | The blueprint to allocate a resource from. |
DrydockLease | $lease | Requested lease. |
DrydockResource | Allocated resource. |
DrydockBlueprint | $blueprint | Blueprint which built the resource. |
wild | $resource | Thing which the blueprint claims is a valid resource. |
DrydockLease | $lease | Lease the resource was allocated for. |
This method is not documented.
DrydockBlueprint | $blueprint | |
DrydockLease | $lease | |
DrydockResource | $resource | Resource to acquire a lease on. |
DrydockLease | $lease | Lease to acquire. |
DrydockBlueprint | $blueprint | Blueprint which created the resource. |
DrydockResource | $resource | Resource which was acquired. |
DrydockLease | $lease | The lease which was supposedly acquired. |
This method is not documented.
This method is not documented.
DrydockBlueprint | $blueprint | |
DrydockResource | $resource | |
DrydockLease | $lease | |
This method is not documented.
This method is not documented.
DrydockLease | $lease | |
Exception | $ex | |
This method is not documented.