Skip to content

CacheLocker

Properties

cache

protected \Psr\Cache\CacheItemPoolInterface $cache

Methods

__construct

public __construct(\Psr\Cache\CacheItemPoolInterface $cache): mixed

Parameters:

Parameter Type Description
$cache \Psr\Cache\CacheItemPoolInterface

tryLock

public tryLock(\Codefy\Framework\Scheduler\Processor\Processor $processor): bool

Parameters:

Parameter Type Description
$processor \Codefy\Framework\Scheduler\Processor\Processor

Throws:


hasLock

public hasLock(\Codefy\Framework\Scheduler\Processor\Processor $processor): bool

Parameters:

Parameter Type Description
$processor \Codefy\Framework\Scheduler\Processor\Processor

Throws:


unlock

public unlock(\Codefy\Framework\Scheduler\Processor\Processor $processor): bool

Parameters:

Parameter Type Description
$processor \Codefy\Framework\Scheduler\Processor\Processor

Throws:



Automatically generated on 2025-10-13