Package org.redisson.connection
Class SingleEntry
- java.lang.Object
-
- org.redisson.connection.MasterSlaveEntry
-
- org.redisson.connection.SingleEntry
-
public class SingleEntry extends MasterSlaveEntry
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description SingleEntry(ConnectionManager connectionManager, MasterSlaveServersConfig config, String sslHostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RFuture<RedisConnection>
connectionReadOp(RedisCommand<?> command)
RFuture<RedisConnection>
connectionReadOp(RedisCommand<?> command, RedisURI addr)
void
releaseRead(RedisConnection connection)
-
Methods inherited from class org.redisson.connection.MasterSlaveEntry
addSlave, addSlave, changeMaster, changeMaster, connectionReadOp, connectionWriteOp, decReference, getAllEntries, getAvailableClients, getAvailableSlaves, getClient, getConfig, getEntry, getReferences, hasSlave, hasSlave, hasSlave, incReference, initSlaveBalancer, isSlaveUnfreezed, masterDown, nextPubSubConnection, nodeDown, redirectedConnectionWriteOp, releaseWrite, returnPubSubConnection, setupMasterEntry, setupMasterEntry, shutdownAsync, slaveDown, slaveDown, slaveDown, slaveUp, slaveUp, slaveUp, toString
-
-
-
-
Constructor Detail
-
SingleEntry
public SingleEntry(ConnectionManager connectionManager, MasterSlaveServersConfig config, String sslHostname)
-
-
Method Detail
-
connectionReadOp
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command, RedisURI addr)
- Overrides:
connectionReadOp
in classMasterSlaveEntry
-
connectionReadOp
public RFuture<RedisConnection> connectionReadOp(RedisCommand<?> command)
- Overrides:
connectionReadOp
in classMasterSlaveEntry
-
releaseRead
public void releaseRead(RedisConnection connection)
- Overrides:
releaseRead
in classMasterSlaveEntry
-
-