public interface LoadBalancerManager
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Void> |
add(ClientConnectionsEntry entry) |
Collection<RedisPubSubConnection> |
freeze(String host,
int port,
ClientConnectionsEntry.FreezeReason freezeReason) |
int |
getAvailableClients() |
io.netty.util.concurrent.Future<RedisConnection> |
getConnection(InetSocketAddress addr) |
io.netty.util.concurrent.Future<RedisConnection> |
nextConnection() |
io.netty.util.concurrent.Future<RedisPubSubConnection> |
nextPubSubConnection() |
void |
returnConnection(RedisConnection connection) |
void |
returnSubscribeConnection(RedisPubSubConnection connection) |
void |
shutdown() |
void |
shutdownAsync() |
boolean |
unfreeze(String host,
int port,
ClientConnectionsEntry.FreezeReason freezeReason) |
io.netty.util.concurrent.Future<RedisConnection> getConnection(InetSocketAddress addr)
int getAvailableClients()
void shutdownAsync()
void shutdown()
boolean unfreeze(String host, int port, ClientConnectionsEntry.FreezeReason freezeReason)
Collection<RedisPubSubConnection> freeze(String host, int port, ClientConnectionsEntry.FreezeReason freezeReason)
io.netty.util.concurrent.Future<Void> add(ClientConnectionsEntry entry)
io.netty.util.concurrent.Future<RedisConnection> nextConnection()
io.netty.util.concurrent.Future<RedisPubSubConnection> nextPubSubConnection()
void returnConnection(RedisConnection connection)
void returnSubscribeConnection(RedisPubSubConnection connection)
Copyright © 2014–2015. All rights reserved.