public function Job::consumeRetry in Apigee Edge 8
Consumes a retry.
Return value
bool Whether the job can be rescheduled.
File
- src/Job/ Job.php, line 243 
Class
- Job
- Defines the Job class.
Namespace
Drupal\apigee_edge\JobCode
public function consumeRetry() : bool {
  if ($this->retry > 0) {
    $this->retry--;
    return TRUE;
  }
  return FALSE;
}