Uses of Enum Class
org.springframework.data.redis.connection.RedisListCommands.Direction
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Core package for integrating Redis with Spring concepts.
Package providing implementations for most of the
java.util
collections on top of Redis.-
Uses of RedisListCommands.Direction in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionstatic RedisListCommands.Direction
RedisListCommands.Direction.first()
Alias forLEFT
.static RedisListCommands.Direction
RedisListCommands.Direction.last()
Alias forRIGHT
.static RedisListCommands.Direction
Returns the enum constant of this class with the specified name.static RedisListCommands.Direction[]
RedisListCommands.Direction.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault byte[]
DefaultedRedisConnection.bLMove
(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) Deprecated.byte[]
DefaultStringRedisConnection.bLMove
(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) DefaultStringRedisConnection.bLMove
(String sourceKey, String destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) 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 thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.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 thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.default byte[]
DefaultedRedisConnection.lMove
(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Deprecated.in favor ofRedisCommandsProvider.listCommands()
}.byte[]
DefaultStringRedisConnection.lMove
(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) DefaultStringRedisConnection.lMove
(String sourceKey, String destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) 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 thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.StringRedisConnection.lMove
(String sourceKey, String destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Atomically returns and removes the first/last element (head/tail depending on thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
. -
Uses of RedisListCommands.Direction in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionBoundListOperations.move
(RedisListCommands.Direction from, K destinationKey, RedisListCommands.Direction to) Atomically returns and removes the first/last element (head/tail depending on thefrom
argument) of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.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 thefrom
argument) of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.BoundListOperations.move
(RedisListCommands.Direction from, K destinationKey, RedisListCommands.Direction to, Duration timeout) Atomically returns and removes the first/last element (head/tail depending on thefrom
argument) of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.ListOperations.move
(K sourceKey, RedisListCommands.Direction from, K destinationKey, RedisListCommands.Direction to) Atomically returns and removes the first/last element (head/tail depending on thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.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 thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
.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 thefrom
argument) of the list stored atsourceKey
, and pushes the element at the first/last element (head/tail depending on theto
argument) of the list stored atdestinationKey
. -
Uses of RedisListCommands.Direction in org.springframework.data.redis.support.collections
Modifier and TypeMethodDescriptionDefaultRedisList.moveFirstTo
(RedisList<E> destination, RedisListCommands.Direction destinationPosition) DefaultRedisList.moveFirstTo
(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) 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 thedestinationPosition
argument) of the list stored atdestination
.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 thedestinationPosition
argument) of the list stored atdestination
.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 thedestinationPosition
argument) of the list stored atdestination
.DefaultRedisList.moveLastTo
(RedisList<E> destination, RedisListCommands.Direction destinationPosition) DefaultRedisList.moveLastTo
(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) 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 thedestinationPosition
argument) of the list stored atdestination
.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 thedestinationPosition
argument) of the list stored atdestination
.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 thedestinationPosition
argument) of the list stored atdestination
.
RedisCommandsProvider.listCommands()
}.