Package | Description |
---|---|
io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient . |
io.lettuce.core.cluster.api |
Redis Cluster connection API.
|
io.lettuce.core.protocol |
Redis protocol layer abstraction.
|
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String nodeId,
ConnectionIntent connectionIntent) |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnectionImpl.getConnection(String host,
int port,
ConnectionIntent connectionIntent) |
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnectionImpl.getConnectionAsync(String nodeId,
ConnectionIntent connectionIntent) |
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnectionImpl.getConnectionAsync(String host,
int port,
ConnectionIntent connectionIntent) |
protected AsyncNodeSelection<K,V> |
RedisAdvancedClusterAsyncCommandsImpl.nodes(Predicate<RedisClusterNode> predicate,
ConnectionIntent connectionIntent,
boolean dynamic) |
Modifier and Type | Method and Description |
---|---|
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String nodeId,
ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using the
nodeId for the given ConnectionIntent . |
StatefulRedisConnection<K,V> |
StatefulRedisClusterConnection.getConnection(String host,
int port,
ConnectionIntent connectionIntent)
Retrieve a connection to the specified cluster node using host and port.
|
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnection.getConnectionAsync(String nodeId,
ConnectionIntent connectionIntent)
Retrieve asynchronously a connection to the specified cluster node using the
nodeId for the given
ConnectionIntent . |
CompletableFuture<StatefulRedisConnection<K,V>> |
StatefulRedisClusterConnection.getConnectionAsync(String host,
int port,
ConnectionIntent connectionIntent)
Retrieve asynchronously a connection to the specified cluster node using host and port for the given
ConnectionIntent . |
Modifier and Type | Method and Description |
---|---|
static ConnectionIntent |
ConnectionIntent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionIntent[] |
ConnectionIntent.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024 lettuce.io. All rights reserved.