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,
InetSocketAddress addr) |
void |
releaseRead(RedisConnection connection) |
addSlave, addSlotRange, changeMaster, connectionWriteOp, freeze, getClient, getConfig, getFreezeReason, getSlotRanges, hasSlave, hasSlave, initSlaveBalancer, isFreezed, releaseWrite, removeSlotRange, returnPubSubConnection, setupMasterEntry, shutdown, shutdownMasterAsync, slaveDown, slaveUp, unfreezepublic SingleEntry(Set<ClusterSlotRange> slotRanges, ConnectionManager connectionManager, MasterSlaveServersConfig config)
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command, InetSocketAddress addr)
connectionReadOp in class MasterSlaveEntrypublic RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command)
connectionReadOp in class MasterSlaveEntrypublic void releaseRead(RedisConnection connection)
releaseRead in class MasterSlaveEntryCopyright © 2014–2017 The Redisson Project. All rights reserved.