public interface ConnectionManager
UUID getId()
CommandSyncService getCommandExecutor()
ExecutorService getExecutor()
URI getLastClusterNode()
Config getCfg()
boolean isClusterMode()
AsyncSemaphore getSemaphore(String channelName)
ConnectionEventsHub getConnectionEventsHub()
boolean isShutdown()
boolean isShuttingDown()
RFuture<PubSubConnectionEntry> subscribe(Codec codec, String channelName, RedisPubSubListener<?>... listeners)
RFuture<PubSubConnectionEntry> subscribe(Codec codec, String channelName, AsyncSemaphore semaphore, RedisPubSubListener<?>... listeners)
IdleConnectionWatcher getConnectionWatcher()
Collection<RedisClientEntry> getClients()
void shutdownAsync(RedisClient client)
int calcSlot(String key)
MasterSlaveServersConfig getConfig()
Codec getCodec()
Collection<MasterSlaveEntry> getEntrySet()
MasterSlaveEntry getEntry(int slot)
MasterSlaveEntry getEntry(InetSocketAddress address)
void releaseRead(NodeSource source, RedisConnection connection)
void releaseWrite(NodeSource source, RedisConnection connection)
RFuture<RedisConnection> connectionReadOp(NodeSource source, RedisCommand<?> command)
RFuture<RedisConnection> connectionWriteOp(NodeSource source, RedisCommand<?> command)
RedisClient createClient(NodeType type, URI address, int timeout, int commandTimeout)
RedisClient createClient(NodeType type, InetSocketAddress address, URI uri)
RedisClient createClient(NodeType type, URI address)
MasterSlaveEntry getEntry(RedisClient redisClient)
PubSubConnectionEntry getPubSubEntry(String channelName)
RFuture<PubSubConnectionEntry> psubscribe(String pattern, Codec codec, RedisPubSubListener<?>... listeners)
RFuture<PubSubConnectionEntry> psubscribe(String pattern, Codec codec, AsyncSemaphore semaphore, RedisPubSubListener<?>... listeners)
void unsubscribe(String channelName, AsyncSemaphore lock)
void punsubscribe(String channelName, AsyncSemaphore lock)
void shutdown()
void shutdown(long quietPeriod, long timeout, TimeUnit unit)
io.netty.channel.EventLoopGroup getGroup()
io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit)
InfinitySemaphoreLatch getShutdownLatch()
Copyright © 2014–2018 The Redisson Project. All rights reserved.