public interface RedisService
Modifier and Type | Method and Description |
---|---|
redis.clients.jedis.JedisPool |
getJedisPool()
Gets the configured Jedis pool, or
null if not configured. |
String |
getPrefix()
Gets the prefix to use when construction Redis keys.
|
redis.clients.jedis.JedisPool getJedisPool()
null
if not configured.
From the pool, you get a Jedis
connection using Pool.getResource()
, which MUST BE FOLLOWED by
a try
and a finally
block in which
JedisPool.returnResource(redis.clients.jedis.BinaryJedis)
MUST BE CALLED.
null
if noneString getPrefix()
Copyright © 2013 Nuxeo SA. All Rights Reserved.