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, syncclose, closeAsync, dispatch, dispatch, flushCommands, getOptions, getResources, getTimeout, isOpen, reset, setAutoFlushCommands, setTimeoutvoid setReadFrom(ReadFrom readFrom)
ReadFrom for more information.setReadFrom in interface StatefulRedisMasterReplicaConnection<K,V>readFrom - the read from setting, must not be nullReadFrom getReadFrom()
ReadFrom setting for this connection. Defaults to ReadFrom.UPSTREAM if not set.getReadFrom in interface StatefulRedisMasterReplicaConnection<K,V>Copyright © 2021 lettuce.io. All rights reserved.