| Modifier and Type | Class and Description |
|---|---|
protected static class |
KeysDAORedisImpl.KeyDAOPoolWork |
| Constructor and Description |
|---|
KeysDAORedisImpl(Config config,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
KeyInfo |
getKeyInfo(String key)
Get basic key info.
|
KeyInfo |
getKeyInfo(String key,
int offset,
int count)
Get basic key info plus a sub-list of the array value for the key, if applicable.
|
List<KeyInfo> |
getKeyInfos()
Get basic info on all keys.
|
Map<String,String> |
getRedisInfo() |
public KeysDAORedisImpl(Config config, redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool)
config - the Jesque configurationjedisPool - the pool of Jedis connectionspublic KeyInfo getKeyInfo(String key)
getKeyInfo in interface KeysDAOkey - the key namepublic KeyInfo getKeyInfo(String key, int offset, int count)
getKeyInfo in interface KeysDAOkey - the key nameoffset - the offset into the arraycount - the number of values to returnpublic List<KeyInfo> getKeyInfos()
getKeyInfos in interface KeysDAOpublic Map<String,String> getRedisInfo()
getRedisInfo in interface KeysDAOCopyright © 2011-2015. All Rights Reserved.