public class SingleEntry extends MasterSlaveEntry
Constructor | Description |
---|---|
SingleEntry(ConnectionManager connectionManager,
MasterSlaveServersConfig config) |
Modifier and Type | Method | 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, getReferences, hasSlave, hasSlave, hasSlave, incReference, initSlaveBalancer, isSlaveUnfreezed, nextPubSubConnection, 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–2018 The Redisson Project. All rights reserved.