commands always sent upon establishing a Redis connection (and every time it's reconnected).
The most common reason to configure initCommands
is to specify authentication password used by every
connection (AUTH
command), but it's also useful for commands like CLIENT SETNAME
, SELECT
, etc.
Note that these are all commands that can't be executed directly by
RedisNodeClient or
RedisClusterClient.
name of the actor representing the connection
local bind address for the connection
socket options for the connection
timeout for establishing connection
hint for maximum number of bytes sent in a single network write message (the actual number of bytes sent may be slightly larger)
a RetryStrategy used to determine what delay should be used when reconnecting
a failed connection. NOTE: reconnectionStrategy
is ignored by RedisConnectionClient
listener for traffic going through this connection. Only for debugging and testing purposes
name of the actor representing the connection
timeout for establishing connection
listener for traffic going through this connection.
listener for traffic going through this connection. Only for debugging and testing purposes
commands always sent upon establishing a Redis connection (and every time it's reconnected).
commands always sent upon establishing a Redis connection (and every time it's reconnected).
The most common reason to configure initCommands
is to specify authentication password used by every
connection (AUTH
command), but it's also useful for commands like CLIENT SETNAME
, SELECT
, etc.
Note that these are all commands that can't be executed directly by
RedisNodeClient or
RedisClusterClient.
local bind address for the connection
hint for maximum number of bytes sent in a single network write message (the actual number of bytes sent may be slightly larger)
a RetryStrategy used to determine what delay should be used when reconnecting a failed connection.
a RetryStrategy used to determine what delay should be used when reconnecting
a failed connection. NOTE: reconnectionStrategy
is ignored by RedisConnectionClient
socket options for the connection
Configuration options for a single Redis connection.
initCommands
usage example:commands always sent upon establishing a Redis connection (and every time it's reconnected). The most common reason to configure
initCommands
is to specify authentication password used by every connection (AUTH
command), but it's also useful for commands likeCLIENT SETNAME
,SELECT
, etc. Note that these are all commands that can't be executed directly by RedisNodeClient or RedisClusterClient.name of the actor representing the connection
local bind address for the connection
socket options for the connection
timeout for establishing connection
hint for maximum number of bytes sent in a single network write message (the actual number of bytes sent may be slightly larger)
a RetryStrategy used to determine what delay should be used when reconnecting a failed connection. NOTE:
reconnectionStrategy
is ignored byRedisConnectionClient
listener for traffic going through this connection. Only for debugging and testing purposes