RedisWatcher
class RedisWatcher extends Watcher
Properties
| static protected bool | $eventsEnabled | Indicates if the redis event is enabled. |
Methods
Details
in
Watcher at line 18
__construct(array $options = [])
Create a new watcher instance.
at line 24
void
register(Application $app)
Register the watcher.
in
Watcher at line 41
protected array
hideParameters(array $data, array $hidden)
Hide the given parameters.
at line 40
static void
enableRedisEvents(Application $app)
Enable Redis events.
Boot-only. Applies a worker-wide Redis event override, refreshes existing mismatched pools, and sets a static flag; runtime use races across coroutines.
at line 50
void
recordCommand(CommandExecuted $event)
Record a Redis command was executed.
at line 111
static void
flushState()
Flush all static state.