Package redis.clients.jedis.commands
Interface MultiKeyJedisClusterCommands
-
- All Known Implementing Classes:
JedisCluster
public interface MultiKeyJedisClusterCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
bitop(BitOP op, String destKey, String... srcKeys)
List<String>
blpop(int timeout, String... keys)
List<String>
brpop(int timeout, String... keys)
String
brpoplpush(String source, String destination, int timeout)
Long
del(String... keys)
Long
exists(String... keys)
Long
georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
Long
georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
Set<String>
keys(String pattern)
List<String>
mget(String... keys)
String
mset(String... keysvalues)
Long
msetnx(String... keysvalues)
long
pfcount(String... keys)
String
pfmerge(String destkey, String... sourcekeys)
void
psubscribe(JedisPubSub jedisPubSub, String... patterns)
Long
publish(String channel, String message)
String
rename(String oldkey, String newkey)
Long
renamenx(String oldkey, String newkey)
String
rpoplpush(String srckey, String dstkey)
ScanResult<String>
scan(String cursor, ScanParams params)
Set<String>
sdiff(String... keys)
Long
sdiffstore(String dstkey, String... keys)
Set<String>
sinter(String... keys)
Long
sinterstore(String dstkey, String... keys)
Long
smove(String srckey, String dstkey, String member)
Long
sort(String key, String dstkey)
Long
sort(String key, SortingParams sortingParameters, String dstkey)
void
subscribe(JedisPubSub jedisPubSub, String... channels)
Set<String>
sunion(String... keys)
Long
sunionstore(String dstkey, String... keys)
Long
touch(String... keys)
Long
unlink(String... keys)
List<Map.Entry<String,List<StreamEntry>>>
xread(int count, long block, Map.Entry<String,StreamEntryID>... streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]List<Map.Entry<String,List<StreamEntry>>>
xreadGroup(String groupname, String consumer, int count, long block, boolean noAck, Map.Entry<String,StreamEntryID>... streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]Long
zinterstore(String dstkey, String... sets)
Long
zinterstore(String dstkey, ZParams params, String... sets)
Long
zunionstore(String dstkey, String... sets)
Long
zunionstore(String dstkey, ZParams params, String... sets)
-
-
-
Method Detail
-
sort
Long sort(String key, SortingParams sortingParameters, String dstkey)
-
subscribe
void subscribe(JedisPubSub jedisPubSub, String... channels)
-
psubscribe
void psubscribe(JedisPubSub jedisPubSub, String... patterns)
-
pfcount
long pfcount(String... keys)
-
scan
ScanResult<String> scan(String cursor, ScanParams params)
-
georadiusStore
Long georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
-
georadiusByMemberStore
Long georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
-
xread
List<Map.Entry<String,List<StreamEntry>>> xread(int count, long block, Map.Entry<String,StreamEntryID>... streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]- Parameters:
count
-block
-streams
-- Returns:
-
xreadGroup
List<Map.Entry<String,List<StreamEntry>>> xreadGroup(String groupname, String consumer, int count, long block, boolean noAck, Map.Entry<String,StreamEntryID>... streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]- Parameters:
groupname
-consumer
-count
-block
-noAck
-streams
-- Returns:
-
-