\Mine\Crontab\MutexTaskMutex

Summary

Methods
Constants
create()
exists()
remove()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

create()

create(\Mine\Crontab\MineCrontab  $crontab) : boolean

Attempt to obtain a task mutex for the given crontab.

Parameters

\Mine\Crontab\MineCrontab $crontab

Returns

boolean

exists()

exists(\Mine\Crontab\MineCrontab  $crontab) : boolean

Determine if a task mutex exists for the given crontab.

Parameters

\Mine\Crontab\MineCrontab $crontab

Returns

boolean

remove()

remove(\Mine\Crontab\MineCrontab  $crontab) 

Clear the task mutex for the given crontab.

Parameters

\Mine\Crontab\MineCrontab $crontab