Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.cluster |
Client for redis clusters
RedisClusterClient . |
Modifier and Type | Field and Description |
---|---|
static ClientOptions.DisconnectedBehavior |
ClientOptions.DEFAULT_DISCONNECTED_BEHAVIOR |
Modifier and Type | Method and Description |
---|---|
ClientOptions.DisconnectedBehavior |
ClientOptions.getDisconnectedBehavior()
Behavior for command invocation when connections are in a disconnected state.
|
static ClientOptions.DisconnectedBehavior |
ClientOptions.DisconnectedBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientOptions.DisconnectedBehavior[] |
ClientOptions.DisconnectedBehavior.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ClientOptions.Builder |
ClientOptions.Builder.disconnectedBehavior(ClientOptions.DisconnectedBehavior disconnectedBehavior)
Sets the behavior for command invocation when connections are in a disconnected state.
|
Modifier and Type | Method and Description |
---|---|
ClusterClientOptions.Builder |
ClusterClientOptions.Builder.disconnectedBehavior(ClientOptions.DisconnectedBehavior disconnectedBehavior) |
Copyright © 2016. All rights reserved.