public interface ListOperations<K,V>
Modifier and Type | Method and Description |
---|---|
RedisOperations<K,V> |
getOperations() |
V |
index(K key,
long index) |
V |
leftPop(K key) |
V |
leftPop(K key,
long timeout,
TimeUnit unit) |
Long |
leftPush(K key,
V value) |
Long |
leftPush(K key,
V pivot,
V value) |
Long |
leftPushAll(K key,
V... values) |
Long |
leftPushIfPresent(K key,
V value) |
List<V> |
range(K key,
long start,
long end) |
Long |
remove(K key,
long i,
Object value) |
V |
rightPop(K key) |
V |
rightPop(K key,
long timeout,
TimeUnit unit) |
V |
rightPopAndLeftPush(K sourceKey,
K destinationKey) |
V |
rightPopAndLeftPush(K sourceKey,
K destinationKey,
long timeout,
TimeUnit unit) |
Long |
rightPush(K key,
V value) |
Long |
rightPush(K key,
V pivot,
V value) |
Long |
rightPushAll(K key,
V... values) |
Long |
rightPushIfPresent(K key,
V value) |
void |
set(K key,
long index,
V value) |
Long |
size(K key) |
void |
trim(K key,
long start,
long end) |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.