Uses of Class
org.springframework.data.redis.core.ListOperations.MoveTo
Packages that use ListOperations.MoveTo
-
Uses of ListOperations.MoveTo in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core that return ListOperations.MoveToModifier and TypeMethodDescriptionstatic <K> ListOperations.MoveTo<K>
ListOperations.MoveTo.toHead
(K key) static <K> ListOperations.MoveTo<K>
ListOperations.MoveTo.toTail
(K key) Methods in org.springframework.data.redis.core with parameters of type ListOperations.MoveToModifier and TypeMethodDescriptiondefault V
ListOperations.move
(ListOperations.MoveFrom<K> from, ListOperations.MoveTo<K> 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
.default V
ListOperations.move
(ListOperations.MoveFrom<K> from, ListOperations.MoveTo<K> 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
.default reactor.core.publisher.Mono<V>
ReactiveListOperations.move
(ListOperations.MoveFrom<K> from, ListOperations.MoveTo<K> 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
.default reactor.core.publisher.Mono<V>
ReactiveListOperations.move
(ListOperations.MoveFrom<K> from, ListOperations.MoveTo<K> 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
.