public interface ConnectionManager
<R> io.netty.util.concurrent.Future<R> newSucceededFuture(R value)
ConnectionEventsHub getConnectionEventsHub()
boolean isShutdown()
boolean isShuttingDown()
io.netty.util.concurrent.Promise<PubSubConnectionEntry> subscribe(Codec codec, String channelName, RedisPubSubListener listener)
ConnectionInitializer getConnectListener()
IdleConnectionWatcher getConnectionWatcher()
<R> io.netty.util.concurrent.Future<R> newFailedFuture(Throwable cause)
void slaveDown(MasterSlaveEntry entry, String host, int port, ClientConnectionsEntry.FreezeReason freezeReason)
Collection<RedisClientEntry> getClients()
void shutdownAsync(RedisClient client)
int calcSlot(String key)
MasterSlaveServersConfig getConfig()
Codec getCodec()
Map<ClusterSlotRange,MasterSlaveEntry> getEntries()
<R> io.netty.util.concurrent.Promise<R> newPromise()
void releaseRead(NodeSource source, RedisConnection connection)
void releaseWrite(NodeSource source, RedisConnection connection)
io.netty.util.concurrent.Future<RedisConnection> connectionReadOp(NodeSource source, RedisCommand<?> command)
io.netty.util.concurrent.Future<RedisConnection> connectionWriteOp(NodeSource source, RedisCommand<?> command)
RedisClient createClient(String host, int port, int timeout)
RedisClient createClient(String host, int port)
MasterSlaveEntry getEntry(InetSocketAddress addr)
PubSubConnectionEntry getPubSubEntry(String channelName)
io.netty.util.concurrent.Future<PubSubConnectionEntry> psubscribe(String pattern, Codec codec)
void shutdown()
io.netty.channel.EventLoopGroup getGroup()
io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit)
InfinitySemaphoreLatch getShutdownLatch()
Copyright © 2014–2015. All rights reserved.