Name |
Type |
Description |
- |
||
- |
||
- |
Name |
Type |
Description |
|
Set ADDR filter |
|
|
Set ID filter |
|
|
Set SKIPME filter |
|
Set TYPE filter |
* `encoding`: `UTF-8` * `host`: `localhost` * `port`: 6379 * `tcpKeepAlive`: true * `tcpNoDelay`: true * `binary`: false
However there are two extra properties that have no defaults since they are optional:
* `auth` * `select`
The usage of this two extra properties is to setup required authentication and optionally the selection of the active database at connection time. If you define this extra properties on every connection to Redis server this client will perform the authentication handshake and database selection, however if you don't do this and call link yourself in case of connection failure the client will not be able to perform the correct authentication handshake.
Name |
Type |
Description |
|
Set the eventbus address prefix for `PUB/SUB`. * @param address address prefix. |
|
|
Set the password for authentication at connection time. |
|
|
Set the messages to/from redis as binary, default `false`. * @param binary use binary messages |
|
|
- |
|
|
- |
|
|
- |
|
|
Set the domain socket enabled option, default `false`. |
|
|
Set the domain socket address where the Redis server is listening. |
|
|
- |
|
|
- |
|
|
Set the user defined character encoding, e.g.: `iso-8859-1`. * @param encoding the user character encoding |
|
|
Set the host name where the Redis server is listening. * @param host host name |
|
|
- |
|
|
- |
|
- |
||
- |
||
- |
||
|
- |
|
|
- |
|
|
Set name of Redis master (used with Sentinel). |
|
|
- |
|
- |
||
- |
||
- |
||
- |
||
- |
||
|
Set the tcp port where the Redis server is listening. |
|
- |
||
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
Set the database to select at connection time. * @param select database id |
|
|
- |
|
|
Set the list of Sentinels. |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
|
- |
|
- |
||
|
- |
|
|
- |