public interface LoadBalancerManager
Modifier and Type | Method and Description |
---|---|
RFuture<Void> |
add(ClientConnectionsEntry entry) |
ClientConnectionsEntry |
freeze(ClientConnectionsEntry connectionEntry,
ClientConnectionsEntry.FreezeReason freezeReason) |
ClientConnectionsEntry |
freeze(String host,
int port,
ClientConnectionsEntry.FreezeReason freezeReason) |
int |
getAvailableClients() |
RFuture<RedisConnection> |
getConnection(InetSocketAddress addr) |
RFuture<RedisConnection> |
nextConnection() |
RFuture<RedisPubSubConnection> |
nextPubSubConnection() |
void |
returnConnection(RedisConnection connection) |
void |
returnPubSubConnection(RedisPubSubConnection connection) |
void |
shutdown() |
void |
shutdownAsync() |
boolean |
unfreeze(String host,
int port,
ClientConnectionsEntry.FreezeReason freezeReason) |
RFuture<RedisConnection> getConnection(InetSocketAddress addr)
int getAvailableClients()
void shutdownAsync()
void shutdown()
boolean unfreeze(String host, int port, ClientConnectionsEntry.FreezeReason freezeReason)
ClientConnectionsEntry freeze(ClientConnectionsEntry connectionEntry, ClientConnectionsEntry.FreezeReason freezeReason)
ClientConnectionsEntry freeze(String host, int port, ClientConnectionsEntry.FreezeReason freezeReason)
RFuture<Void> add(ClientConnectionsEntry entry)
RFuture<RedisConnection> nextConnection()
RFuture<RedisPubSubConnection> nextPubSubConnection()
void returnConnection(RedisConnection connection)
void returnPubSubConnection(RedisPubSubConnection connection)
Copyright © 2014–2016 The Redisson Project. All rights reserved.