K
- Key type.V
- Value type.public interface StatefulRedisMasterSlaveConnection<K,V> extends StatefulRedisConnection<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, sync
close, dispatch, dispatch, flushCommands, getOptions, getTimeout, isOpen, reset, setAutoFlushCommands, setTimeout, setTimeout
void setReadFrom(ReadFrom readFrom)
ReadFrom
for more information.readFrom
- the read from setting, must not be nullReadFrom getReadFrom()
ReadFrom
setting for this connection. Defaults to ReadFrom.MASTER
if not set.Copyright © 2018 lettuce.io. All rights reserved.