You are here

public function JobExecutorInterface::call in Apigee Edge 8

Executes a job synchronously.

Parameters

\Drupal\apigee_edge\Job\Job $job: Job to run.

bool $update: Whether to save the job into the database after it ran. Setting this to false means that it is the caller's responsibility to save the job into the database, else the job will be stuck in the "running" state.

Throws

\Exception

1 method overrides JobExecutorInterface::call()
JobExecutor::call in src/JobExecutor.php
Executes a job synchronously.

File

src/JobExecutorInterface.php, line 75

Class

JobExecutorInterface
Job executor service definition.

Namespace

Drupal\apigee_edge

Code

public function call(Job $job, bool $update = TRUE);