Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
static ReactiveListCommands.Direction |
ReactiveListCommands.Direction.first()
Alias for
LEFT . |
ReactiveListCommands.Direction |
ReactiveListCommands.PushCommand.getDirection() |
ReactiveListCommands.Direction |
ReactiveListCommands.PopCommand.getDirection() |
ReactiveListCommands.Direction |
ReactiveListCommands.BPopCommand.getDirection() |
ReactiveListCommands.Direction |
ReactiveListCommands.LMoveCommand.getFrom() |
ReactiveListCommands.Direction |
ReactiveListCommands.LMoveCommand.getTo() |
static ReactiveListCommands.Direction |
ReactiveListCommands.Direction.last()
Alias for
RIGHT . |
static ReactiveListCommands.Direction |
ReactiveListCommands.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReactiveListCommands.Direction[] |
ReactiveListCommands.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<ByteBuffer> |
ReactiveListCommands.bLMove(ByteBuffer sourceKey,
ByteBuffer destinationKey,
ReactiveListCommands.Direction from,
ReactiveListCommands.Direction to,
Duration timeout)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at sourceKey , and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
static ReactiveListCommands.LMoveCommand |
ReactiveListCommands.LMoveCommand.from(ByteBuffer sourceKey,
ReactiveListCommands.Direction sourceDirection)
Creates a new
ReactiveListCommands.LMoveCommand given a sourceKey . |
default reactor.core.publisher.Mono<ByteBuffer> |
ReactiveListCommands.lMove(ByteBuffer sourceKey,
ByteBuffer destinationKey,
ReactiveListCommands.Direction from,
ReactiveListCommands.Direction to)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at sourceKey , and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
ReactiveListCommands.LMoveCommand |
ReactiveListCommands.LMoveCommand.to(ByteBuffer destinationKey,
ReactiveListCommands.Direction direction)
Applies the
destinationKey . |
Constructor and Description |
---|
LMoveCommand(ByteBuffer sourceKey,
ByteBuffer destinationKey,
ReactiveListCommands.Direction from,
ReactiveListCommands.Direction to) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<V> |
ReactiveListOperations.move(K sourceKey,
ReactiveListCommands.Direction from,
K destinationKey,
ReactiveListCommands.Direction to)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at sourceKey , and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
reactor.core.publisher.Mono<V> |
ReactiveListOperations.move(K sourceKey,
ReactiveListCommands.Direction from,
K destinationKey,
ReactiveListCommands.Direction to,
Duration timeout)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at sourceKey , and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.