Spring Data Key-Value

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


public interface ValueOperations<K,V>

Redis operations for simple (or in Redis terminology 'string') values.

Author:
Costin Leau

Method Summary
 Integer append(K key, String value)
           
 String get(K key, int start, int end)
           
 V get(Object key)
           
 V getAndSet(K key, V value)
           
 RedisOperations<K,V> getOperations()
           
 Long increment(K key, long delta)
           
 Collection<V> multiGet(Collection<K> keys)
           
 void multiSet(Map<? extends K,? extends V> m)
           
 void multiSetIfAbsent(Map<? extends K,? extends V> m)
           
 void set(K key, int start, int end)
           
 void set(K key, V value)
           
 void set(K key, V value, long timeout, TimeUnit unit)
           
 Boolean setIfAbsent(K key, V value)
           
 Long size(K key)
           
 

Method Detail

set

void set(K key,
         V value)

set

void set(K key,
         V value,
         long timeout,
         TimeUnit unit)

setIfAbsent

Boolean setIfAbsent(K key,
                    V value)

multiSet

void multiSet(Map<? extends K,? extends V> m)

multiSetIfAbsent

void multiSetIfAbsent(Map<? extends K,? extends V> m)

get

V get(Object key)

getAndSet

V getAndSet(K key,
            V value)

multiGet

Collection<V> multiGet(Collection<K> keys)

increment

Long increment(K key,
               long delta)

append

Integer append(K key,
               String value)

get

String get(K key,
           int start,
           int end)

set

void set(K key,
         int start,
         int end)

size

Long size(K key)

getOperations

RedisOperations<K,V> getOperations()

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.