public function JobExecutorInterface::countJobs in Apigee Edge 8
Counts jobs in the queue.
Parameters
null|string $tag: Optional tag to filter with.
array|null $statuses: Optional statues to filter with.
Return value
int Number of counted jobs.
1 method overrides JobExecutorInterface::countJobs()
- JobExecutor::countJobs in src/
JobExecutor.php - Counts jobs in the queue.
File
- src/
JobExecutorInterface.php, line 100
Class
- JobExecutorInterface
- Job executor service definition.
Namespace
Drupal\apigee_edgeCode
public function countJobs(?string $tag = NULL, ?array $statuses = NULL) : int;