redis.clients.jedis.commands.SetPipelineCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
import java.util.Set;
import redis.clients.jedis.Response;
import redis.clients.jedis.params.ScanParams;
import redis.clients.jedis.resps.ScanResult;
public interface SetPipelineCommands {
Response sadd(String key, String... members);
Response> smembers(String key);
Response srem(String key, String... members);
Response spop(String key);
Response> spop(String key, long count);
Response scard(String key);
Response sismember(String key, String member);
Response> smismember(String key, String... members);
Response srandmember(String key);
Response> srandmember(String key, int count);
default Response> sscan(String key, String cursor) {
return sscan(key, cursor, new ScanParams());
}
Response> sscan(String key, String cursor, ScanParams params);
Response> sdiff(String... keys);
Response sdiffStore(String dstKey, String... keys);
Response> sinter(String... keys);
Response sinterstore(String dstKey, String... keys);
Response sintercard(String... keys);
Response sintercard(int limit, String... keys);
Response> sunion(String... keys);
Response sunionstore(String dstKey, String... keys);
Response smove(String srckey, String dstKey, String member);
}