| Package | Description |
|---|---|
| io.lettuce.core.api |
Standalone Redis connection API.
|
| io.lettuce.core.pubsub |
Pub/Sub connection classes.
|
| io.lettuce.core.pubsub.api.reactive |
Pub/Sub Redis API for reactive command execution.
|
| 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 StatefulRedisClusterPubSubConnection.commands(ClusterPubSubCommandsFactory). |
| Modifier and Type | Method and Description |
|---|---|
static <C extends StatefulRedisPubSubConnection<?,?>,T> |
PubSubCommandsFactory.of(Object key,
Function<C,T> builder)
Creates a
PubSubCommandsFactory from a cache key and a builder. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
StatefulRedisPubSubConnectionImpl.commands(PubSubCommandsFactory<StatefulRedisPubSubConnection<K,V>,T> factory) |
default <T> T |
StatefulRedisPubSubConnection.commands(PubSubCommandsFactory<StatefulRedisPubSubConnection<K,V>,T> factory)
Returns the command API created by
factory, bound to this connection. |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> PubSubCommandsFactory<StatefulRedisPubSubConnection<K,V>,RedisPubSubReactiveCommands<K,V>> |
RedisPubSubReactiveCommands.factory()
Returns the
PubSubCommandsFactory that creates RedisPubSubReactiveCommands, for use with
StatefulRedisPubSubConnection.commands(PubSubCommandsFactory):
{
@code
RedisPubSubReactiveCommands |
Copyright © 2026 lettuce.io. All rights reserved.