public class JedisWrapper extends Object implements HelperRedis
EMPTY| Constructor and Description |
|---|
JedisWrapper(RedisCredentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
<T> Channel<T> |
getChannel(String name,
com.google.common.reflect.TypeToken<T> type) |
redis.clients.jedis.Jedis |
getJedis()
Gets a Jedis instance from the JedisPool.
|
redis.clients.jedis.JedisPool |
getJedisPool()
Gets the JedisPool instance backing the redis instance
|
boolean |
terminate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitusingJedisbindWith, close, hasTerminated, ofgetChannel, getChannelpublic JedisWrapper(@Nonnull RedisCredentials credentials)
@Nonnull public redis.clients.jedis.JedisPool getJedisPool()
HelperRedisgetJedisPool in interface HelperRedis@Nonnull public redis.clients.jedis.Jedis getJedis()
HelperRedisgetJedis in interface HelperRedispublic boolean terminate()
terminate in interface TerminableCopyright © 2017. All rights reserved.