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.
|
org.springframework.data.redis.support.collections |
Package providing implementations for most of the
java.util collections on top of Redis. |
Modifier and Type | Method and Description |
---|---|
static RedisListCommands.Direction |
RedisListCommands.Direction.first()
Alias for
LEFT . |
static RedisListCommands.Direction |
RedisListCommands.Direction.last()
Alias for
RIGHT . |
static RedisListCommands.Direction |
RedisListCommands.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisListCommands.Direction[] |
RedisListCommands.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
DefaultStringRedisConnection.bLMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to,
double timeout) |
default byte[] |
DefaultedRedisConnection.bLMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to,
double timeout)
Deprecated.
in favor of
RedisConnection.listCommands() }. |
byte[] |
RedisListCommands.bLMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to,
double 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 . |
String |
DefaultStringRedisConnection.bLMove(String sourceKey,
String destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to,
double timeout) |
String |
StringRedisConnection.bLMove(String sourceKey,
String destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to,
double 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 . |
byte[] |
DefaultStringRedisConnection.lMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to) |
default byte[] |
DefaultedRedisConnection.lMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to)
Deprecated.
in favor of
RedisConnection.listCommands() }. |
byte[] |
RedisListCommands.lMove(byte[] sourceKey,
byte[] destinationKey,
RedisListCommands.Direction from,
RedisListCommands.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 . |
String |
DefaultStringRedisConnection.lMove(String sourceKey,
String destinationKey,
RedisListCommands.Direction from,
RedisListCommands.Direction to) |
String |
StringRedisConnection.lMove(String sourceKey,
String destinationKey,
RedisListCommands.Direction from,
RedisListCommands.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 . |
Modifier and Type | Method and Description |
---|---|
V |
ListOperations.move(K sourceKey,
RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.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 . |
default V |
ListOperations.move(K sourceKey,
RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.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 . |
V |
ListOperations.move(K sourceKey,
RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.Direction to,
long timeout,
TimeUnit unit)
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 . |
V |
BoundListOperations.move(RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.Direction to)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at the bound key, and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
V |
BoundListOperations.move(RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.Direction to,
Duration timeout)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at the bound key, and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
V |
BoundListOperations.move(RedisListCommands.Direction from,
K destinationKey,
RedisListCommands.Direction to,
long timeout,
TimeUnit unit)
Atomically returns and removes the first/last element (head/tail depending on the
from argument) of the
list stored at the bound key, and pushes the element at the first/last element (head/tail depending on the
to argument) of the list stored at destinationKey . |
Modifier and Type | Method and Description |
---|---|
E |
DefaultRedisList.moveFirstTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition) |
E |
RedisList.moveFirstTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition)
Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
default E |
RedisList.moveFirstTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
Duration timeout)
Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
E |
DefaultRedisList.moveFirstTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
long timeout,
TimeUnit unit) |
E |
RedisList.moveFirstTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
long timeout,
TimeUnit unit)
Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
E |
DefaultRedisList.moveLastTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition) |
E |
RedisList.moveLastTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition)
Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
default E |
RedisList.moveLastTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
Duration timeout)
Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
E |
DefaultRedisList.moveLastTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
long timeout,
TimeUnit unit) |
E |
RedisList.moveLastTo(RedisList<E> destination,
RedisListCommands.Direction destinationPosition,
long timeout,
TimeUnit unit)
Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the
first/last element (head/tail depending on the
destinationPosition argument) of the list stored
at destination . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.