Class JedisContainer
java.lang.Object
org.apache.storm.redis.common.container.JedisContainer
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- JedisCommandsContainer
Adapter for providing a unified interface for running commands over both Jedis and JedisCluster instances.
- 
Constructor Details- 
JedisContainerpublic JedisContainer(redis.clients.jedis.JedisPool jedisPool) Constructor.- Parameters:
- jedisPool- JedisPool which actually manages Jedis instances
 
 
- 
- 
Method Details- 
closepublic void close()Release Container.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- JedisCommandsContainer
 
- 
exists- Specified by:
- existsin interface- JedisCommandsContainer
 
- 
get- Specified by:
- getin interface- JedisCommandsContainer
 
- 
hget- Specified by:
- hgetin interface- JedisCommandsContainer
 
- 
geoadd- Specified by:
- geoaddin interface- JedisCommandsContainer
 
- 
geopos- Specified by:
- geoposin interface- JedisCommandsContainer
 
- 
hexists- Specified by:
- hexistsin interface- JedisCommandsContainer
 
- 
hset- Specified by:
- hsetin interface- JedisCommandsContainer
 
- 
lpop- Specified by:
- lpopin interface- JedisCommandsContainer
 
- 
pfadd- Specified by:
- pfaddin interface- JedisCommandsContainer
 
- 
pfcount- Specified by:
- pfcountin interface- JedisCommandsContainer
 
- 
rpush- Specified by:
- rpushin interface- JedisCommandsContainer
 
- 
sadd- Specified by:
- saddin interface- JedisCommandsContainer
 
- 
scard- Specified by:
- scardin interface- JedisCommandsContainer
 
- 
set- Specified by:
- setin interface- JedisCommandsContainer
 
- 
sismember- Specified by:
- sismemberin interface- JedisCommandsContainer
 
- 
zadd- Specified by:
- zaddin interface- JedisCommandsContainer
 
- 
zrank- Specified by:
- zrankin interface- JedisCommandsContainer
 
- 
zscore- Specified by:
- zscorein interface- JedisCommandsContainer
 
 
-