redis.clients.jedis.commands.ListPipelineCommands 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 redis.clients.jedis.Response;
import redis.clients.jedis.args.ListDirection;
import redis.clients.jedis.args.ListPosition;
import redis.clients.jedis.params.LPosParams;
import redis.clients.jedis.util.KeyValue;
public interface ListPipelineCommands {
Response rpush(String key, String... string);
Response lpush(String key, String... string);
Response llen(String key);
Response> lrange(String key, long start, long stop);
Response ltrim(String key, long start, long stop);
Response lindex(String key, long index);
Response lset(String key, long index, String value);
Response lrem(String key, long count, String value);
Response lpop(String key);
Response> lpop(String key, int count);
Response lpos(String key, String element);
Response lpos(String key, String element, LPosParams params);
Response> lpos(String key, String element, LPosParams params, long count);
Response rpop(String key);
Response> rpop(String key, int count);
Response linsert(String key, ListPosition where, String pivot, String value);
Response lpushx(String key, String... strings);
Response rpushx(String key, String... strings);
Response> blpop(int timeout, String key);
Response> blpop(double timeout, String key);
Response> brpop(int timeout, String key);
Response> brpop(double timeout, String key);
Response> blpop(int timeout, String... keys);
Response> blpop(double timeout, String... keys);
Response> brpop(int timeout, String... keys);
Response> brpop(double timeout, String... keys);
Response rpoplpush(String srckey, String dstkey);
Response brpoplpush(String source, String destination, int timeout);
Response lmove(String srcKey, String dstKey, ListDirection from, ListDirection to);
Response blmove(String srcKey, String dstKey, ListDirection from, ListDirection to, double timeout);
Response>> lmpop(ListDirection direction, String... keys);
Response>> lmpop(ListDirection direction, int count, String... keys);
Response>> blmpop(double timeout, ListDirection direction, String... keys);
Response>> blmpop(double timeout, ListDirection direction, int count, String... keys);
}