public interface LoadBalancer
Modifier and Type | Method and Description |
---|---|
void |
add(SubscribesConnectionEntry entry) |
Collection<RedisPubSubConnection> |
freeze(String host,
int port) |
void |
init(RedisCodec codec,
MasterSlaveServersConfig config) |
RedisConnection |
nextConnection() |
RedisPubSubConnection |
nextPubSubConnection() |
void |
returnConnection(RedisConnection connection) |
void |
returnSubscribeConnection(RedisPubSubConnection connection) |
void |
shutdown() |
void |
unfreeze(String host,
int port) |
void shutdown()
void unfreeze(String host, int port)
Collection<RedisPubSubConnection> freeze(String host, int port)
void init(RedisCodec codec, MasterSlaveServersConfig config)
void add(SubscribesConnectionEntry entry)
RedisConnection nextConnection()
RedisPubSubConnection nextPubSubConnection()
void returnConnection(RedisConnection connection)
void returnSubscribeConnection(RedisPubSubConnection connection)
Copyright © 2014–2015. All rights reserved.