public class ConnectionEntry extends Object
Constructor and Description |
---|
ConnectionEntry(RedisClient client,
int poolSize,
int subscribePoolSize) |
Modifier and Type | Method and Description |
---|---|
RedisClient |
getClient() |
Queue<RedisConnection> |
getConnections() |
Semaphore |
getConnectionsSemaphore() |
Queue<RedisPubSubConnection> |
getSubscribeConnections() |
Semaphore |
getSubscribeConnectionsSemaphore() |
boolean |
isFreezed() |
void |
setFreezed(boolean freezed) |
void |
shutdown() |
public ConnectionEntry(RedisClient client, int poolSize, int subscribePoolSize)
public RedisClient getClient()
public boolean isFreezed()
public void setFreezed(boolean freezed)
public void shutdown()
public Semaphore getSubscribeConnectionsSemaphore()
public Semaphore getConnectionsSemaphore()
public Queue<RedisPubSubConnection> getSubscribeConnections()
public Queue<RedisConnection> getConnections()
Copyright © 2014. All rights reserved.