K - Key type.V - Value type.public interface StatefulRedisSentinelConnection<K,V> extends StatefulConnection<K,V>
StatefulRedisSentinelConnection.
A ConnectionWatchdog monitors each connection and reconnects automatically until StatefulConnection.close() is called. All
pending commands will be (re)sent after successful reconnection.| Modifier and Type | Method and Description |
|---|---|
RedisSentinelAsyncCommands<K,V> |
async()
Returns the
RedisSentinelAsyncCommands API for the current connection. |
RedisSentinelReactiveCommands<K,V> |
reactive()
Returns the
RedisSentinelReactiveCommands API for the current connection. |
RedisSentinelCommands<K,V> |
sync()
Returns the
RedisSentinelCommands API for the current connection. |
close, closeAsync, dispatch, dispatch, flushCommands, getOptions, getResources, getTimeout, isOpen, reset, setAutoFlushCommands, setTimeout, setTimeoutRedisSentinelCommands<K,V> sync()
RedisSentinelCommands API for the current connection. Does not create a new connection.RedisSentinelAsyncCommands<K,V> async()
RedisSentinelAsyncCommands API for the current connection. Does not create a new connection.RedisSentinelReactiveCommands<K,V> reactive()
RedisSentinelReactiveCommands API for the current connection. Does not create a new connection.Copyright © 2020 lettuce.io. All rights reserved.