CreateSwooleTimers
class CreateSwooleTimers extends BaseListener
Methods
void
bool
shouldRegisterTimers(AfterWorkerStart $event)
Determine if this worker should own Swoole cache timers.
store(string $name)
Get a Swoole cache store.
Details
at line 16
__construct(Container $container, SwooleTimer $timer)
No description
in
BaseListener at line 16
protected Collection
swooleStores()
No description
at line 24
void
handle(AfterWorkerStart $event)
Create timers for all configured Swoole cache stores.
at line 72
protected bool
shouldRegisterTimers(AfterWorkerStart $event)
Determine if this worker should own Swoole cache timers.
at line 80
protected SwooleStore
store(string $name)
Get a Swoole cache store.