Spring Data Key-Value

org.springframework.data.keyvalue.redis.core
Interface BoundListOperations<K,V>

All Superinterfaces:
KeyBound<K>

public interface BoundListOperations<K,V>
extends KeyBound<K>

List operations bound to a certain key.

Author:
Costin Leau

Method Summary
 RedisOperations<K,V> getOperations()
           
 V index(long index)
           
 V leftPop()
           
 V leftPop(long timeout, TimeUnit unit)
           
 Long leftPush(V value)
           
 Long leftPush(V pivot, V value)
           
 Long leftPushIfPresent(V value)
           
 List<V> range(long start, long end)
           
 Long remove(long i, Object value)
           
 V rightPop()
           
 V rightPop(long timeout, TimeUnit unit)
           
 Long rightPush(V value)
           
 Long rightPush(V pivot, V value)
           
 Long rightPushIfPresent(V value)
           
 void set(long index, V value)
           
 Long size()
           
 void trim(long start, long end)
           
 
Methods inherited from interface org.springframework.data.keyvalue.redis.core.KeyBound
getKey
 

Method Detail

getOperations

RedisOperations<K,V> getOperations()

range

List<V> range(long start,
              long end)

trim

void trim(long start,
          long end)

size

Long size()

leftPush

Long leftPush(V value)

leftPushIfPresent

Long leftPushIfPresent(V value)

leftPush

Long leftPush(V pivot,
              V value)

rightPush

Long rightPush(V value)

rightPushIfPresent

Long rightPushIfPresent(V value)

rightPush

Long rightPush(V pivot,
               V value)

leftPop

V leftPop()

leftPop

V leftPop(long timeout,
          TimeUnit unit)

rightPop

V rightPop()

rightPop

V rightPop(long timeout,
           TimeUnit unit)

remove

Long remove(long i,
            Object value)

index

V index(long index)

set

void set(long index,
         V value)

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.