Mutex (Console\Scheduling)

Mutex

interface Mutex (View source)

Methods

bool create(Event $event)

Attempt to obtain a mutex for the given event.

bool exists(Event $event)

Determine if a mutex exists for the given event.

void forget(Event $event)

Clear the mutex for the given event.

Details

bool create(Event $event)

Attempt to obtain a mutex for the given event.

Parameters

Event $event

Return Value

bool

bool exists(Event $event)

Determine if a mutex exists for the given event.

Parameters

Event $event

Return Value

bool

void forget(Event $event)

Clear the mutex for the given event.

Parameters

Event $event

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Console/Scheduling/Mutex.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部