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, slaveUp
public SingleEntry(RedisCodec codec, io.netty.channel.EventLoopGroup group, MasterSlaveServersConfig config)
public void setupMasterEntry(String host, int port)
setupMasterEntry
in class MasterSlaveEntry
public void returnSubscribeConnection(PubSubConnectionEntry entry)
returnSubscribeConnection
in class MasterSlaveEntry
public <K,V> RedisConnection<K,V> connectionReadOp()
connectionReadOp
in class MasterSlaveEntry
public void releaseRead(RedisConnection сonnection)
releaseRead
in class MasterSlaveEntry
Copyright © 2014–2015. All rights reserved.