Spring Data Key-Value

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

All Superinterfaces:
KeyBound<K>

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

Value (or String in Redis terminology) operations bound to a certain key.

Author:
Costin Leau

Method Summary
 Integer append(String value)
           
 V get()
           
 String get(int start, int end)
           
 V getAndSet(V value)
           
 RedisOperations<K,V> getOperations()
           
 Long increment(long delta)
           
 void set(int start, int end)
           
 void set(V value)
           
 void set(V value, long timeout, TimeUnit unit)
           
 Boolean setIfAbsent(V value)
           
 Long size()
           
 
Methods inherited from interface org.springframework.data.keyvalue.redis.core.KeyBound
getKey
 

Method Detail

getOperations

RedisOperations<K,V> getOperations()

set

void set(V value)

set

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

setIfAbsent

Boolean setIfAbsent(V value)

get

V get()

getAndSet

V getAndSet(V value)

increment

Long increment(long delta)

append

Integer append(String value)

get

String get(int start,
           int end)

set

void set(int start,
         int end)

size

Long size()

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.