public class SingleEntry extends MasterSlaveEntry
Constructor and Description |
---|
SingleEntry(ConnectionManager connectionManager,
MasterSlaveServersConfig config) |
Modifier and Type | Method and Description |
---|---|
RFuture<RedisConnection> |
connectionReadOp(RedisCommand<?> command) |
RFuture<RedisConnection> |
connectionReadOp(RedisCommand<?> command,
URI addr) |
void |
releaseRead(RedisConnection connection) |
addSlave, addSlave, changeMaster, changeMaster, connectionReadOp, connectionWriteOp, decReference, getAllEntries, getAvailableClients, getClient, getConfig, getEntry, getReferences, hasSlave, hasSlave, hasSlave, incReference, initSlaveBalancer, isSlaveUnfreezed, nextPubSubConnection, redirectedConnectionWriteOp, releaseWrite, returnPubSubConnection, setupMasterEntry, setupMasterEntry, shutdownAsync, slaveDown, slaveDown, slaveDown, slaveUp, slaveUp, slaveUp, toString
public SingleEntry(ConnectionManager connectionManager, MasterSlaveServersConfig config)
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command, URI addr)
connectionReadOp
in class MasterSlaveEntry
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command)
connectionReadOp
in class MasterSlaveEntry
public void releaseRead(RedisConnection connection)
releaseRead
in class MasterSlaveEntry
Copyright © 2014–2019 The Redisson Project. All rights reserved.