public class SubscribesConnectionEntry extends ConnectionEntry
| Constructor and Description |
|---|
SubscribesConnectionEntry(RedisClient client,
int poolSize,
int subscribePoolSize) |
| Modifier and Type | Method and Description |
|---|---|
Queue<RedisPubSubConnection> |
getAllSubscribeConnections() |
Semaphore |
getSubscribeConnectionsSemaphore() |
void |
offerFreeSubscribeConnection(RedisPubSubConnection connection) |
RedisPubSubConnection |
pollFreeSubscribeConnection() |
void |
registerSubscribeConnection(RedisPubSubConnection connection) |
getClient, getConnections, getConnectionsSemaphore, isFreezed, setFreezedpublic SubscribesConnectionEntry(RedisClient client, int poolSize, int subscribePoolSize)
public Queue<RedisPubSubConnection> getAllSubscribeConnections()
public void registerSubscribeConnection(RedisPubSubConnection connection)
public RedisPubSubConnection pollFreeSubscribeConnection()
public void offerFreeSubscribeConnection(RedisPubSubConnection connection)
public Semaphore getSubscribeConnectionsSemaphore()
Copyright © 2014–2015. All rights reserved.