public class QueueInfoDAORedisImpl extends Object implements QueueInfoDAO
| Constructor and Description |
|---|
QueueInfoDAORedisImpl(Config config,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPendingCount() |
long |
getProcessedCount() |
QueueInfo |
getQueueInfo(String name,
long jobOffset,
long jobCount) |
List<QueueInfo> |
getQueueInfos() |
List<String> |
getQueueNames() |
void |
removeQueue(String name) |
public QueueInfoDAORedisImpl(Config config, redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool)
public List<String> getQueueNames()
getQueueNames in interface QueueInfoDAOpublic long getPendingCount()
getPendingCount in interface QueueInfoDAOpublic long getProcessedCount()
getProcessedCount in interface QueueInfoDAOpublic List<QueueInfo> getQueueInfos()
getQueueInfos in interface QueueInfoDAOpublic QueueInfo getQueueInfo(String name, long jobOffset, long jobCount)
getQueueInfo in interface QueueInfoDAOpublic void removeQueue(String name)
removeQueue in interface QueueInfoDAOCopyright © 2011-2013. All Rights Reserved.