redis.clients.jedis.MultiKeyCommands Maven / Gradle / Ivy
package redis.clients.jedis;
import java.util.List;
import java.util.Set;
public interface MultiKeyCommands {
Long del(String... keys);
Long exists(String... keys);
List blpop(int timeout, String... keys);
List brpop(int timeout, String... keys);
List blpop(String... args);
List brpop(String... args);
Set keys(String pattern);
List mget(String... keys);
String mset(String... keysvalues);
Long msetnx(String... keysvalues);
String rename(String oldkey, String newkey);
Long renamenx(String oldkey, String newkey);
String rpoplpush(String srckey, String dstkey);
Set sdiff(String... keys);
Long sdiffstore(String dstkey, String... keys);
Set sinter(String... keys);
Long sinterstore(String dstkey, String... keys);
Long smove(String srckey, String dstkey, String member);
Long sort(String key, SortingParams sortingParameters, String dstkey);
Long sort(String key, String dstkey);
Set sunion(String... keys);
Long sunionstore(String dstkey, String... keys);
String watch(String... keys);
String unwatch();
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);
String brpoplpush(String source, String destination, int timeout);
Long publish(String channel, String message);
void subscribe(JedisPubSub jedisPubSub, String... channels);
void psubscribe(JedisPubSub jedisPubSub, String... patterns);
String randomKey();
Long bitop(BitOP op, final String destKey, String... srcKeys);
@Deprecated
/**
* This method is deprecated due to bug (scan cursor should be unsigned long)
* And will be removed on next major release
* @see https://github.com/xetorthio/jedis/issues/531
*/
ScanResult scan(int cursor);
ScanResult scan(final String cursor);
ScanResult scan(final String cursor, final ScanParams params);
String pfmerge(final String destkey, final String... sourcekeys);
long pfcount(final String... keys);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy