public class ConnectionEntry extends Object
Constructor and Description |
---|
ConnectionEntry(RedisClient client,
int poolSize) |
Modifier and Type | Method and Description |
---|---|
RedisConnection |
connect(MasterSlaveServersConfig config) |
RedisPubSubConnection |
connectPubSub(MasterSlaveServersConfig config) |
RedisClient |
getClient() |
Queue<RedisConnection> |
getConnections() |
Semaphore |
getConnectionsSemaphore() |
boolean |
isFreezed() |
void |
setFreezed(boolean freezed) |
String |
toString() |
public ConnectionEntry(RedisClient client, int poolSize)
public RedisClient getClient()
public boolean isFreezed()
public void setFreezed(boolean freezed)
public Semaphore getConnectionsSemaphore()
public Queue<RedisConnection> getConnections()
public RedisConnection connect(MasterSlaveServersConfig config)
public RedisPubSubConnection connectPubSub(MasterSlaveServersConfig config)
Copyright © 2014–2015. All rights reserved.