Package redis.clients.jedis.commands
Interface ListBinaryCommands
- All Known Subinterfaces:
JedisBinaryCommands
- All Known Implementing Classes:
Jedis,JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface ListBinaryCommands
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]blmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to, double timeout) blmpop(long timeout, ListDirection direction, byte[]... keys) blmpop(long timeout, ListDirection direction, int count, byte[]... keys) List<byte[]> blpop(double timeout, byte[]... keys) List<byte[]> blpop(int timeout, byte[]... keys) List<byte[]> brpop(double timeout, byte[]... keys) List<byte[]> brpop(int timeout, byte[]... keys) byte[]brpoplpush(byte[] source, byte[] destination, int timeout) byte[]lindex(byte[] key, long index) longlinsert(byte[] key, ListPosition where, byte[] pivot, byte[] value) longllen(byte[] key) byte[]lmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to) lmpop(ListDirection direction, byte[]... keys) lmpop(ListDirection direction, int count, byte[]... keys) byte[]lpop(byte[] key) List<byte[]> lpop(byte[] key, int count) lpos(byte[] key, byte[] element) lpos(byte[] key, byte[] element, LPosParams params) lpos(byte[] key, byte[] element, LPosParams params, long count) longlpush(byte[] key, byte[]... args) longlpushx(byte[] key, byte[]... args) List<byte[]> lrange(byte[] key, long start, long stop) longlrem(byte[] key, long count, byte[] value) lset(byte[] key, long index, byte[] value) ltrim(byte[] key, long start, long stop) byte[]rpop(byte[] key) List<byte[]> rpop(byte[] key, int count) byte[]rpoplpush(byte[] srckey, byte[] dstkey) longrpush(byte[] key, byte[]... args) longrpushx(byte[] key, byte[]... args)
-
Method Details
-
rpush
long rpush(byte[] key, byte[]... args) -
lpush
long lpush(byte[] key, byte[]... args) -
llen
long llen(byte[] key) -
lrange
-
ltrim
-
lindex
byte[] lindex(byte[] key, long index) -
lset
-
lrem
long lrem(byte[] key, long count, byte[] value) -
lpop
byte[] lpop(byte[] key) -
lpop
-
lpos
-
lpos
-
lpos
-
rpop
byte[] rpop(byte[] key) -
rpop
-
linsert
-
lpushx
long lpushx(byte[] key, byte[]... args) -
rpushx
long rpushx(byte[] key, byte[]... args) -
blpop
-
blpop
-
brpop
-
brpop
-
rpoplpush
byte[] rpoplpush(byte[] srckey, byte[] dstkey) -
brpoplpush
byte[] brpoplpush(byte[] source, byte[] destination, int timeout) -
lmove
-
blmove
-
lmpop
-
lmpop
-
blmpop
-
blmpop
KeyValue<byte[],List<byte[]>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys)
-