Package | Description |
---|---|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
static <K> ListOperations.MoveTo<K> |
ListOperations.MoveTo.toHead(K key) |
static <K> ListOperations.MoveTo<K> |
ListOperations.MoveTo.toTail(K key) |
Modifier and Type | Method and Description |
---|---|
default V |
ListOperations.move(ListOperations.MoveFrom<K> from,
ListOperations.MoveTo<K> 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 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 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(ListOperations.MoveFrom<K> from,
ListOperations.MoveTo<K> 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 . |
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 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.