RedisWatcher
class RedisWatcher extends Watcher
Properties
| static protected bool | $eventsEnabled | Indicates if the redis event is enabled. |
Methods
void
string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
from
Watcher
static void
void
static void
flushState()
Flush all static state.
Details
in
Watcher at line 18
__construct(array $options = [])
Create a new watcher instance.
at line 25
void
register(Application $app)
Register the watcher.
in
Watcher at line 41
protected array
hideParameters(array $data, array $hidden)
Hide the given parameters.
in
Watcher at line 55
protected string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
at line 41
static void
enableRedisEvents(Application $app)
Enable Redis events.
Applies a worker-wide Redis event override, refreshes existing mismatched pools, and sets a static flag; runtime use races across coroutines.
at line 52
void
recordCommand(CommandExecuted $event)
Record a Redis command was executed.
at line 113
static void
flushState()
Flush all static state.