public class SingleEntry extends MasterSlaveEntry
| Constructor and Description |
|---|
SingleEntry(RedisCodec codec,
io.netty.channel.EventLoopGroup group,
MasterSlaveServersConfig config) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> RedisConnection<K,V> |
connectionReadOp() |
void |
releaseRead(RedisConnection сonnection) |
void |
returnSubscribeConnection(PubSubConnectionEntry entry) |
void |
setupMasterEntry(String host,
int port) |
addSlave, changeMaster, connectionWriteOp, getClient, releaseWrite, shutdown, shutdownMasterAsync, slaveDown, slaveUppublic SingleEntry(RedisCodec codec, io.netty.channel.EventLoopGroup group, MasterSlaveServersConfig config)
public void setupMasterEntry(String host, int port)
setupMasterEntry in class MasterSlaveEntrypublic void returnSubscribeConnection(PubSubConnectionEntry entry)
returnSubscribeConnection in class MasterSlaveEntrypublic <K,V> RedisConnection<K,V> connectionReadOp()
connectionReadOp in class MasterSlaveEntrypublic void releaseRead(RedisConnection сonnection)
releaseRead in class MasterSlaveEntryCopyright © 2014–2015. All rights reserved.