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