Uses of Interface
io.lettuce.core.pubsub.StatefulRedisPubSubConnection
| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.cluster |
Client for Redis Cluster, see
RedisClusterClient. |
| io.lettuce.core.cluster.pubsub |
Redis Cluster Pub/Sub support.
|
| io.lettuce.core.pubsub |
Pub/Sub connection classes.
|
| io.lettuce.core.pubsub.api.async |
Pub/Sub Redis API for asynchronous executed commands.
|
| io.lettuce.core.pubsub.api.reactive |
Pub/Sub Redis API for reactive command execution.
|
| io.lettuce.core.pubsub.api.sync |
Pub/Sub Redis API for synchronous executed commands.
|
-
Uses of StatefulRedisPubSubConnection in io.lettuce.core
Methods in io.lettuce.core that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<String,String>RedisClient. connectPubSub()Open a new pub/sub connection to a Redis server that treats keys and values as UTF-8 strings.<K, V> StatefulRedisPubSubConnection<K,V>RedisClient. connectPubSub(RedisCodec<K,V> codec)<K, V> StatefulRedisPubSubConnection<K,V>RedisClient. connectPubSub(RedisCodec<K,V> codec, RedisURI redisURI)StatefulRedisPubSubConnection<String,String>RedisClient. connectPubSub(RedisURI redisURI)Open a new pub/sub connection to a Redis server using the suppliedRedisURIthat treats keys and values as UTF-8 strings.Methods in io.lettuce.core that return types with arguments of type StatefulRedisPubSubConnection Modifier and Type Method Description <K, V> ConnectionFuture<StatefulRedisPubSubConnection<K,V>>RedisClient. connectPubSubAsync(RedisCodec<K,V> codec, RedisURI redisURI) -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.cluster
Constructors in io.lettuce.core.cluster with parameters of type StatefulRedisPubSubConnection Constructor Description RedisClusterPubSubAsyncCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection.RedisClusterPubSubReactiveCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection. -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.cluster.pubsub
Subinterfaces of StatefulRedisPubSubConnection in io.lettuce.core.cluster.pubsub Modifier and Type Interface Description interfaceStatefulRedisClusterPubSubConnection<K,V>A stateful Pub/Sub connection for Redis Cluster use.Methods in io.lettuce.core.cluster.pubsub that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<K,V>StatefulRedisClusterPubSubConnection. getConnection(String nodeId)Retrieve a connection to the specified cluster node using the nodeId.StatefulRedisPubSubConnection<K,V>StatefulRedisClusterPubSubConnection. getConnection(String host, int port)Retrieve a connection to the specified cluster node using host and port.Methods in io.lettuce.core.cluster.pubsub that return types with arguments of type StatefulRedisPubSubConnection Modifier and Type Method Description CompletableFuture<StatefulRedisPubSubConnection<K,V>>StatefulRedisClusterPubSubConnection. getConnectionAsync(String nodeId)Retrieve asynchronously a connection to the specified cluster node using the nodeId.CompletableFuture<StatefulRedisPubSubConnection<K,V>>StatefulRedisClusterPubSubConnection. getConnectionAsync(String host, int port)Retrieve a connection to the specified cluster node using host and port. -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.pubsub
Classes in io.lettuce.core.pubsub that implement StatefulRedisPubSubConnection Modifier and Type Class Description classStatefulRedisPubSubConnectionImpl<K,V>An thread-safe pub/sub connection to a Redis server.Methods in io.lettuce.core.pubsub that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<K,V>RedisPubSubAsyncCommandsImpl. getStatefulConnection()StatefulRedisPubSubConnection<K,V>RedisPubSubReactiveCommandsImpl. getStatefulConnection()Constructors in io.lettuce.core.pubsub with parameters of type StatefulRedisPubSubConnection Constructor Description RedisPubSubAsyncCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection.RedisPubSubReactiveCommandsImpl(StatefulRedisPubSubConnection<K,V> connection, RedisCodec<K,V> codec)Initialize a new connection. -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.pubsub.api.async
Methods in io.lettuce.core.pubsub.api.async that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<K,V>RedisPubSubAsyncCommands. getStatefulConnection() -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.pubsub.api.reactive
Methods in io.lettuce.core.pubsub.api.reactive that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<K,V>RedisPubSubReactiveCommands. getStatefulConnection() -
Uses of StatefulRedisPubSubConnection in io.lettuce.core.pubsub.api.sync
Methods in io.lettuce.core.pubsub.api.sync that return StatefulRedisPubSubConnection Modifier and Type Method Description StatefulRedisPubSubConnection<K,V>RedisPubSubCommands. getStatefulConnection()