public class HelperRedis extends Object implements Redis
EMPTY| Constructor and Description |
|---|
HelperRedis(RedisCredentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindWith, closeAndReportException, closeSilently, isClosedgetChannel, getConversationChannel, getConversationChannelpublic HelperRedis(@Nonnull RedisCredentials credentials)
@Nonnull public redis.clients.jedis.JedisPool getJedisPool()
RedisgetJedisPool in interface Redis@Nonnull public redis.clients.jedis.Jedis getJedis()
Redispublic void close()
throws Exception
close in interface AutoCloseableclose in interface TerminableExceptionCopyright © 2018. All rights reserved.