class CacheEventMutex implements EventMutex, CacheAware (View source)
| Factory | $cache | The cache repository implementation. | |
| string|null | $store | The cache store that should be used. |
| void | __construct(Factory $cache)
Create a new overlapping strategy. | |
| bool | create(Event $event)
Attempt to obtain an event mutex for the given event. | |
| bool | exists(Event $event)
Determine if an event mutex exists for the given event. | |
| void | forget(Event $event)
Clear the event mutex for the given event. | |
| bool | shouldUseLocks(Store $store)
Determine if the given store should use locks for cache event mutexes. | |
| $this | useStore(string $store)
Specify the cache store that should be used. |
Create a new overlapping strategy.
Attempt to obtain an event mutex for the given event.
Determine if an event mutex exists for the given event.
Clear the event mutex for the given event.
Determine if the given store should use locks for cache event mutexes.
Specify the cache store that should be used.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Console/Scheduling/CacheEventMutex.html