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