K
- Key type.V
- Value type.MasterReplica
and
StatefulRedisMasterReplicaConnection
.@Deprecated public interface StatefulRedisMasterSlaveConnection<K,V> extends StatefulRedisMasterReplicaConnection<K,V>
ReadFrom
.Modifier and Type | Method and Description |
---|---|
ReadFrom |
getReadFrom()
Deprecated.
Gets the
ReadFrom setting for this connection. |
void |
setReadFrom(ReadFrom readFrom)
Deprecated.
Set from which nodes data is read.
|
addListener, async, isMulti, reactive, removeListener, sync
addListener, close, closeAsync, dispatch, dispatch, flushCommands, getOptions, getResources, getTimeout, isOpen, removeListener, reset, setAutoFlushCommands, setTimeout
void setReadFrom(ReadFrom readFrom)
ReadFrom
for more information.setReadFrom
in interface StatefulRedisMasterReplicaConnection<K,V>
readFrom
- the read from setting, must not be null
ReadFrom getReadFrom()
ReadFrom
setting for this connection. Defaults to ReadFrom.UPSTREAM
if not set.getReadFrom
in interface StatefulRedisMasterReplicaConnection<K,V>
Copyright © 2023 lettuce.io. All rights reserved.