public class SingleEntry extends MasterSlaveEntry
Constructor and Description |
---|
SingleEntry(Set<ClusterSlotRange> slotRanges,
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, addSlotRange, changeMaster, changeMaster, connectionWriteOp, freeze, getAvailableClients, getClient, getConfig, getFreezeReason, getSlaveEntries, getSlotRanges, hasSlave, hasSlave, hasSlave, initSlaveBalancer, isFreezed, isSlaveUnfreezed, nextPubSubConnection, releaseWrite, removeSlotRange, returnPubSubConnection, setupMasterEntry, setupMasterEntry, shutdown, shutdownMasterAsync, slaveDown, slaveDown, slaveDown, slaveUp, slaveUp, slaveUp, unfreeze
public SingleEntry(Set<ClusterSlotRange> slotRanges, 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–2018 The Redisson Project. All rights reserved.