Module lettuce.core

Interface StatefulRedisSentinelConnection<K,​V>

Type Parameters:
K - Key type.
V - Value type.
All Superinterfaces:
AsyncCloseable, AutoCloseable, StatefulConnection<K,​V>
All Known Implementing Classes:
StatefulRedisSentinelConnectionImpl

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