public class SingleConnectionManager extends MasterSlaveConnectionManager
balancer, codec, config, group, masterEntry
Constructor and Description |
---|
SingleConnectionManager(SingleServerConfig cfg,
Config config) |
Modifier and Type | Method and Description |
---|---|
<K,V> RedisConnection<K,V> |
connectionReadOp() |
void |
releaseRead(RedisConnection сonnection) |
protected void |
returnSubscribeConnection(PubSubConnectionEntry entry) |
addSlave, changeMaster, connectionWriteOp, createReleaseReadListener, createReleaseWriteListener, get, getEntry, getGroup, init, init, init, read, read, readAsync, releaseWrite, shutdown, slaveDown, slaveUp, subscribe, subscribe, unsubscribe, write, write, writeAsync
public SingleConnectionManager(SingleServerConfig cfg, Config config)
protected void returnSubscribeConnection(PubSubConnectionEntry entry)
returnSubscribeConnection
in class MasterSlaveConnectionManager
public <K,V> RedisConnection<K,V> connectionReadOp()
connectionReadOp
in interface ConnectionManager
connectionReadOp
in class MasterSlaveConnectionManager
public void releaseRead(RedisConnection сonnection)
releaseRead
in interface ConnectionManager
releaseRead
in class MasterSlaveConnectionManager
Copyright © 2014. All rights reserved.