interface job_attempt_repository_interface implements repository_interface

internal  
 

Persistence contract for middag_job_attempt.

Methods

void
add_attempt(int $jobid, job_attempt_interface $attempt)

Persist one attempt for a job and update job summary counters.

array
find_by_job(int $jobid)

No description

Details

at line 35
void add_attempt(int $jobid, job_attempt_interface $attempt)

Persist one attempt for a job and update job summary counters.

Parameters

int $jobid
job_attempt_interface $attempt

Return Value

void

Exceptions

dml_exception

at line 42
array find_by_job(int $jobid)

No description

Parameters

int $jobid

Return Value

array

Exceptions

dml_exception