Class RedisCommandsAdapterJedisCluster
java.lang.Object
org.apache.storm.redis.common.adapter.RedisCommandsAdapterJedisCluster
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- RedisCommands
Adapter class to make JedisCluster instance play with BinaryRedisCommands interface.
- 
Constructor SummaryConstructorsConstructorDescriptionRedisCommandsAdapterJedisCluster(redis.clients.jedis.JedisCluster jedisCluster) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()del(byte[] key) exists(byte[] key) booleanhdel(byte[] key, byte[]... fields) byte[]hget(byte[] key, byte[] field) Map<byte[],byte[]> hgetAll(byte[] key) redis.clients.jedis.resps.ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, redis.clients.jedis.params.ScanParams params) rename(byte[] oldkey, byte[] newkey) 
- 
Constructor Details- 
RedisCommandsAdapterJedisClusterpublic RedisCommandsAdapterJedisCluster(redis.clients.jedis.JedisCluster jedisCluster) 
 
- 
- 
Method Details- 
hgetpublic byte[] hget(byte[] key, byte[] field) - Specified by:
- hgetin interface- RedisCommands
 
- 
exists- Specified by:
- existsin interface- RedisCommands
 
- 
exists- Specified by:
- existsin interface- RedisCommands
 
- 
hmset- Specified by:
- hmsetin interface- RedisCommands
 
- 
hmset- Specified by:
- hmsetin interface- RedisCommands
 
- 
hgetAll- Specified by:
- hgetAllin interface- RedisCommands
 
- 
hgetAll- Specified by:
- hgetAllin interface- RedisCommands
 
- 
hdel- Specified by:
- hdelin interface- RedisCommands
 
- 
del- Specified by:
- delin interface- RedisCommands
 
- 
del- Specified by:
- delin interface- RedisCommands
 
- 
rename- Specified by:
- renamein interface- RedisCommands
 
- 
rename- Specified by:
- renamein interface- RedisCommands
 
- 
hscanpublic redis.clients.jedis.resps.ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, redis.clients.jedis.params.ScanParams params) - Specified by:
- hscanin interface- RedisCommands
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-