Class JedisClusterContainer
java.lang.Object
org.apache.storm.redis.common.container.JedisClusterContainer
- All Implemented Interfaces:
Closeable
,AutoCloseable
,JedisCommandsContainer
Container for managing JedisCluster.
Note that JedisCluster doesn't need to be pooled since it's thread-safe and it stores pools internally.
-
Constructor Summary
ConstructorDescriptionJedisClusterContainer
(redis.clients.jedis.JedisCluster jedisCluster) Constructor. -
Method Summary
-
Constructor Details
-
JedisClusterContainer
public JedisClusterContainer(redis.clients.jedis.JedisCluster jedisCluster) Constructor.- Parameters:
jedisCluster
- JedisCluster instance
-
-
Method Details
-
exists
- Specified by:
exists
in interfaceJedisCommandsContainer
-
get
- Specified by:
get
in interfaceJedisCommandsContainer
-
hget
- Specified by:
hget
in interfaceJedisCommandsContainer
-
geoadd
- Specified by:
geoadd
in interfaceJedisCommandsContainer
-
geopos
- Specified by:
geopos
in interfaceJedisCommandsContainer
-
hexists
- Specified by:
hexists
in interfaceJedisCommandsContainer
-
hset
- Specified by:
hset
in interfaceJedisCommandsContainer
-
lpop
- Specified by:
lpop
in interfaceJedisCommandsContainer
-
pfadd
- Specified by:
pfadd
in interfaceJedisCommandsContainer
-
pfcount
- Specified by:
pfcount
in interfaceJedisCommandsContainer
-
rpush
- Specified by:
rpush
in interfaceJedisCommandsContainer
-
sadd
- Specified by:
sadd
in interfaceJedisCommandsContainer
-
scard
- Specified by:
scard
in interfaceJedisCommandsContainer
-
set
- Specified by:
set
in interfaceJedisCommandsContainer
-
sismember
- Specified by:
sismember
in interfaceJedisCommandsContainer
-
zadd
- Specified by:
zadd
in interfaceJedisCommandsContainer
-
zrank
- Specified by:
zrank
in interfaceJedisCommandsContainer
-
zscore
- Specified by:
zscore
in interfaceJedisCommandsContainer
-
close
public void close()Release Container.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceJedisCommandsContainer
-