class UpdatedBatchJobCounts (View source)

Properties

int $pendingJobs The number of pending jobs remaining for the batch.
int $failedJobs The number of failed jobs that belong to the batch.

Methods

void
__construct(int $pendingJobs = 0, int $failedJobs = 0)

Create a new batch job counts object.

bool
allJobsHaveRanExactlyOnce()

Determine if all jobs have ran exactly once.

Details

void __construct(int $pendingJobs = 0, int $failedJobs = 0)

Create a new batch job counts object.

Parameters

int $pendingJobs
int $failedJobs

Return Value

void

bool allJobsHaveRanExactlyOnce()

Determine if all jobs have ran exactly once.

Return Value

bool