protected static final class KeysDAORedisImpl.KeyDAOPoolWork extends Object implements PoolUtils.PoolWork<redis.clients.jedis.Jedis,KeyInfo>
| Modifier | Constructor and Description |
|---|---|
protected |
KeyDAOPoolWork(String key) |
protected |
KeyDAOPoolWork(String key,
int offset,
int count) |
| Modifier and Type | Method and Description |
|---|---|
KeyInfo |
doWork(redis.clients.jedis.Jedis jedis)
Do work with a pooled resource and return a result.
|
protected KeyInfo |
handleHash(redis.clients.jedis.Jedis jedis) |
protected KeyInfo |
handleList(redis.clients.jedis.Jedis jedis) |
protected KeyInfo |
handleSet(redis.clients.jedis.Jedis jedis) |
protected KeyInfo |
handleString(redis.clients.jedis.Jedis jedis) |
protected KeyInfo |
handleZSet(redis.clients.jedis.Jedis jedis) |
protected KeyDAOPoolWork(String key)
protected KeyDAOPoolWork(String key, int offset, int count)
public KeyInfo doWork(redis.clients.jedis.Jedis jedis) throws Exception
doWork in interface PoolUtils.PoolWork<redis.clients.jedis.Jedis,KeyInfo>jedis - the pooled resourceException - in case something goes wrongprotected KeyInfo handleZSet(redis.clients.jedis.Jedis jedis)
protected KeyInfo handleString(redis.clients.jedis.Jedis jedis)
protected KeyInfo handleSet(redis.clients.jedis.Jedis jedis)
protected KeyInfo handleList(redis.clients.jedis.Jedis jedis)
protected KeyInfo handleHash(redis.clients.jedis.Jedis jedis)
Copyright © 2011-2015. All Rights Reserved.