CacheMutex
class CacheMutex implements Mutex (View source)
Properties
Repository | $cache | The cache repository implementation. |
Methods
void | __construct(Repository $cache) Create a new overlapping strategy. | |
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
void __construct(Repository $cache)
Create a new overlapping strategy.
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Console/Scheduling/CacheMutex.html