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, connectionReadOp, connectionWriteOp, getAllEntries, getAvailableClients, getClient, getConfig, getSlotRanges, hasSlave, hasSlave, hasSlave, initSlaveBalancer, isSlaveUnfreezed, nextPubSubConnection, releaseWrite, removeSlotRange, returnPubSubConnection, setupMasterEntry, setupMasterEntry, shutdownAsync, slaveDown, slaveDown, slaveDown, slaveUp, slaveUp, slaveUp, toStringpublic SingleEntry(Set<ClusterSlotRange> slotRanges, ConnectionManager connectionManager, MasterSlaveServersConfig config)
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command, URI addr)
connectionReadOp in class MasterSlaveEntrypublic RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command)
connectionReadOp in class MasterSlaveEntrypublic void releaseRead(RedisConnection connection)
releaseRead in class MasterSlaveEntryCopyright © 2014–2018 The Redisson Project. All rights reserved.