Documentation

CacheMutex
in package
implements Mutex

Interfaces, Classes and Traits

Mutex

Table of Contents

$cache  : Repository
The cache repository implementation.
__construct()  : void
Create a new overlapping strategy.
create()  : bool
Attempt to obtain a mutex for the given event.
exists()  : bool
Determine if a mutex exists for the given event.
forget()  : void
Clear the mutex for the given event.

Properties

Methods

__construct()

Create a new overlapping strategy.

public __construct(Repository $cache) : void
Parameters
$cache : Repository
Return values
void

create()

Attempt to obtain a mutex for the given event.

public create(Event $event) : bool
Parameters
$event : Event
Return values
bool

exists()

Determine if a mutex exists for the given event.

public exists(Event $event) : bool
Parameters
$event : Event
Return values
bool

forget()

Clear the mutex for the given event.

public forget(Event $event) : void
Parameters
$event : Event
Return values
void

Search results