The Redis cache backend.
This is a nice, reliable caching backend that allows for clustering using the Redis clustering feature.
Available config options:
- server - The redis server to connect to. Currently only a single server is supported. Default: localhost.
- port - The port to connect to the server on. Default: 6379
private bool $updateExpire
public available({Array})
Parameter | Type | Description |
---|
$namespace | string | |
Parameter | Type | Description |
---|
$cmds | array | |
$useMaster | bool | |
Parameter | Type | Description |
---|
$db | int | |
Parameter | Type | Description |
---|
$key | string | |
$checkEmpty | bool | |
Parameter | Type | Description |
---|
$key | string | |
Parameter | Type | Description |
---|
$key | string | |
$value | mixed | |
$timeout | int | |
Parameter | Type | Description |
---|
$key | string | |
Parameter | Type | Description |
---|
$host | string | |
$port | int | |
private getChunk({Array})
Parameter | Type | Description |
---|
$socket | Client | |
$bytes | int | |
Decodes a RESP data chunk.
Parameter | Type | Description |
---|
$socket | Client | |
$chunk | string | |
Encodes data into the RESP protocol.
Parameter | Type | Description |
---|
$data | mixed | The data to encode |
private keepalive({Array})
Generated by Hazaar API Doc Generator