Module io.inverno.mod.redis
Package io.inverno.mod.redis.operations
Interface RedisListReactiveOperations<A,B>
- Type Parameters:
A
- key typeB
- value type
- All Known Subinterfaces:
RedisClient<A,
,B> RedisOperations<A,
,B> RedisTransactionalClient<A,
,B> RedisTransactionalOperations<A,
B>
- All Known Implementing Classes:
io.inverno.mod.redis.lettuce.internal.AbstractRedisClient
,PoolRedisClient
,PoolRedisClusterClient
public interface RedisListReactiveOperations<A,B>
Redis Lists reactive commands.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
RedisListReactiveOperations.AbstractListLmoveBuilder<A,
B, C extends RedisListReactiveOperations.AbstractListLmoveBuilder<A, B, C>> static interface
RedisListReactiveOperations.AbstractListLmpopBuilder<A,
B, C extends RedisListReactiveOperations.AbstractListLmpopBuilder<A, B, C>> BLMPOP timeout numkeys key [key ...]static interface
BLMOVE source destination LEFT|RIGHT LEFT|RIGHT timeoutstatic interface
BLMPOP timeout numkeys key [key ...]static interface
LMOVE source destination LEFT|RIGHT LEFT|RIGHTstatic interface
LMPOP numkeys key [key ...]static interface
LPOS key element [RANK rank] [COUNT num-matches] [MAXLEN len] -
Method Summary
Modifier and TypeMethodDescriptionblmove()
BLMOVE source destination LEFT|RIGHT LEFT|RIGHT timeoutblmpop()
BLMPOP timeout numkeys key [key ...]Mono
<EntryOptional<A, B>> BLPOP key timeoutMono
<EntryOptional<A, B>> BLPOP key [key ...] timeoutMono
<EntryOptional<A, B>> BRPOP key timeoutMono
<EntryOptional<A, B>> BRPOP key [key ...] timeoutbrpoplpush
(A source, A destination, double timeout) BRPOPLPUSH source destination timeoutLINDEX key indexLINSERT key BEFORE|AFTER pivot elementLLEN keylmove()
LMOVE source destination LEFT|RIGHT LEFT|RIGHTlmpop()
LMPOP numkeys key [key ...]LPOP keyLPOP key [count]lpos()
LPOS key element [RANK rank] [COUNT num-matches] [MAXLEN len]LPOS key elementLPOS key element [COUNT num-matches]LPUSH key elementLPUSH key element [element ...]LPUSHX key elementLPUSHX key element [element ...]LRANGE key start stopLREM key count elementLSET key index elementLTRIM key start stopRPOP keyRPOP key [count]RPOPLPUSH source destinationRPUSH key element [element ...]RPUSH key element [element ...]RPUSHX key element [element ...]RPUSHX key element [element ...]
-
Method Details
-
blmove
RedisListReactiveOperations.ListBlmoveBuilder<A,B> blmove()BLMOVE source destination LEFT|RIGHT LEFT|RIGHT timeout- Returns:
-
blmpop
RedisListReactiveOperations.ListBlmpopBuilder<A,B> blmpop()BLMPOP timeout numkeys key [key ...] LEFT|RIGHT [COUNT count]- Returns:
-
blpop
BLPOP key timeout- Parameters:
key
-timeout
-- Returns:
-
blpop
BLPOP key [key ...] timeout- Parameters:
keys
-timeout
-- Returns:
-
brpop
BRPOP key timeout- Parameters:
key
-timeout
-- Returns:
-
brpop
BRPOP key [key ...] timeout- Parameters:
keys
-timeout
-- Returns:
-
brpoplpush
BRPOPLPUSH source destination timeout- Parameters:
source
-destination
-timeout
-- Returns:
-
lindex
LINDEX key index- Parameters:
key
-index
-- Returns:
-
linsert
LINSERT key BEFORE|AFTER pivot element- Parameters:
key
-before
-pivot
-element
-- Returns:
-
llen
LLEN key- Parameters:
key
-- Returns:
-
lmove
LMOVE source destination LEFT|RIGHT LEFT|RIGHT- Returns:
-
lmpop
LMPOP numkeys key [key ...] LEFT|RIGHT [COUNT count]- Returns:
-
lpop
LPOP key- Parameters:
key
-- Returns:
-
lpop
LPOP key [count]- Parameters:
key
-count
-- Returns:
-
lpos
LPOS key element- Parameters:
key
-element
-- Returns:
-
lpos
LPOS key element [COUNT num-matches]- Parameters:
key
-element
-count
-- Returns:
-
lpos
LPOS key element [RANK rank] [COUNT num-matches] [MAXLEN len]- Returns:
-
lpush
LPUSH key element- Parameters:
key
-element
-- Returns:
-
lpush
LPUSH key element [element ...]- Parameters:
key
-elements
-- Returns:
-
lpushx
LPUSHX key element- Parameters:
key
-element
-- Returns:
-
lpushx
LPUSHX key element [element ...]- Parameters:
key
-elements
-- Returns:
-
lrange
LRANGE key start stop- Parameters:
key
-start
-stop
-- Returns:
-
lrem
LREM key count element- Parameters:
key
-count
-element
-- Returns:
-
lset
LSET key index element- Parameters:
key
-index
-element
-- Returns:
-
ltrim
LTRIM key start stop- Parameters:
key
-start
-stop
-- Returns:
-
rpop
RPOP key- Parameters:
key
-- Returns:
-
rpop
RPOP key [count]- Parameters:
key
-count
-- Returns:
-
rpoplpush
RPOPLPUSH source destination- Parameters:
source
-destination
-- Returns:
-
rpush
RPUSH key element [element ...]- Parameters:
key
-element
-- Returns:
-
rpush
RPUSH key element [element ...]- Parameters:
key
-elements
-- Returns:
-
rpushx
RPUSHX key element [element ...]- Parameters:
key
-element
-- Returns:
-
rpushx
RPUSHX key element [element ...]- Parameters:
key
-elements
-- Returns:
-