Module lettuce.core

Class StatefulRedisClusterConnectionImpl<K,​V>

java.lang.Object
io.lettuce.core.RedisChannelHandler<K,​V>
io.lettuce.core.cluster.StatefulRedisClusterConnectionImpl<K,​V>
All Implemented Interfaces:
StatefulConnection<K,​V>, StatefulRedisClusterConnection<K,​V>, AsyncCloseable, ConnectionFacade, Closeable, AutoCloseable

public class StatefulRedisClusterConnectionImpl<K,​V>
extends RedisChannelHandler<K,​V>
implements StatefulRedisClusterConnection<K,​V>
A thread-safe connection to a Redis Cluster. Multiple threads may share one StatefulRedisClusterConnectionImpl A ConnectionWatchdog monitors each connection and reconnects automatically until RedisChannelHandler.close() is called. All pending commands will be (re)sent after successful reconnection.
Since:
4.0
Author:
Mark Paluch