| Package | Description |
|---|---|
| io.lettuce.core.api |
Standalone Redis connection API.
|
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.pubsub |
Redis Cluster Pub/Sub support.
|
| io.lettuce.core.cluster.pubsub.api.async |
Redis Cluster Pub/Sub API for asynchronous executed commands.
|
| io.lettuce.core.cluster.pubsub.api.reactive |
Redis Cluster Pub/Sub API for reactive command execution.
|
| io.lettuce.core.cluster.pubsub.api.sync |
Redis Cluster Pub/Sub API for synchronous executed commands.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClusterPubSubCommandsFactory<C extends StatefulRedisClusterPubSubConnection<?,?>,T>
A
CommandsFactory that creates a command API bound to a Cluster Pub/Sub
connection, for use with commands(ClusterPubSubCommandsFactory). |
| Modifier and Type | Method and Description |
|---|---|
static <C extends StatefulRedisClusterPubSubConnection<?,?>,T> |
ClusterPubSubCommandsFactory.of(Object key,
Function<C,T> builder)
Creates a
ClusterPubSubCommandsFactory from a cache key and a builder. |
| Modifier and Type | Method and Description |
|---|---|
StatefulRedisClusterPubSubConnection<String,String> |
RedisClusterClient.connectPubSub()
Connect to a Redis Cluster using pub/sub connections and treat keys and values as UTF-8 strings.
|
<K,V> StatefulRedisClusterPubSubConnection<K,V> |
RedisClusterClient.connectPubSub(RedisCodec<K,V> codec)
Connect to a Redis Cluster using pub/sub connections.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> CompletableFuture<StatefulRedisClusterPubSubConnection<K,V>> |
RedisClusterClient.connectPubSubAsync(RedisCodec<K,V> codec)
Connect asynchronously to a Redis Cluster using pub/sub connections.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
StatefulRedisClusterPubSubConnection.commands(ClusterPubSubCommandsFactory<StatefulRedisClusterPubSubConnection<K,V>,T> factory)
Returns the command API created by
factory, bound to this connection. |
| Modifier and Type | Method and Description |
|---|---|
StatefulRedisClusterPubSubConnection<K,V> |
RedisClusterPubSubAsyncCommands.getStatefulConnection() |
| Modifier and Type | Method and Description |
|---|---|
StatefulRedisClusterPubSubConnection<K,V> |
RedisClusterPubSubReactiveCommands.getStatefulConnection()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ClusterPubSubCommandsFactory<StatefulRedisClusterPubSubConnection<K,V>,RedisClusterPubSubReactiveCommands<K,V>> |
RedisClusterPubSubReactiveCommands.factory()
Returns the
ClusterPubSubCommandsFactory that creates RedisClusterPubSubReactiveCommands, for use with
commands(ClusterPubSubCommandsFactory):
{
@code
RedisClusterPubSubReactiveCommands |
| Modifier and Type | Method and Description |
|---|---|
StatefulRedisClusterPubSubConnection<K,V> |
RedisClusterPubSubCommands.getStatefulConnection() |
Copyright © 2026 lettuce.io. All rights reserved.