class Illuminate / Console / Scheduling / CacheEventMutex
You are viewing an older version of the documentation. For the latest, please visit master documentation.

CacheEventMutex

Implements

Properties

public

$cache Factory

The cache repository implementation.

Default: null
public

$store string|null

The cache store that should be used.

Default: null

Methods

public

__construct ( Factory $cache ) : void

Create a new overlapping strategy.

Parameters

public

create ( Event $event ) : bool

Attempt to obtain an event mutex for the given event.

Parameters

public

exists ( Event $event ) : bool

Determine if an event mutex exists for the given event.

Parameters

public

forget ( Event $event ) : void

Clear the event mutex for the given event.

Parameters

public

useStore ( $store ) : $this

Specify the cache store that should be used.

Parameters

  • $store string