You are here

public function Job::shouldRetry in Apigee Edge 8

Whether this job should be retried when an exception is thrown.

Parameters

\Exception $exception: The thrown exception.

Return value

bool TRUE if the job should be retried.

File

src/Job/Job.php, line 261

Class

Job
Defines the Job class.

Namespace

Drupal\apigee_edge\Job

Code

public function shouldRetry(\Exception $exception) : bool {
  return TRUE;
}