|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncBucketKeyValueStoreOperations
An asynchronous version of BucketKeyValueStoreOperations
.
Method Summary | ||
---|---|---|
|
containsKey(B bucket,
K key,
AsyncKeyValueStoreOperation<Boolean,R> callback)
|
|
|
delete(B bucket,
K key,
AsyncKeyValueStoreOperation<Boolean,R> callback)
Delete a specific entry from this data store. |
|
|
get(B bucket,
K key,
AsyncKeyValueStoreOperation<V,R> callback)
|
|
|
getAndSet(B bucket,
K key,
V value,
AsyncKeyValueStoreOperation<V,R> callback)
|
|
|
getAndSetAsBytes(B bucket,
K key,
byte[] value,
AsyncKeyValueStoreOperation<byte[],R> callback)
|
|
|
getAndSetAsType(B bucket,
K key,
V value,
Class<T> requiredType,
AsyncKeyValueStoreOperation<T,R> callback)
|
|
|
getAsBytes(B bucket,
K key,
AsyncKeyValueStoreOperation<byte[],R> callback)
|
|
|
getAsType(B bucket,
K key,
Class<T> requiredType,
AsyncKeyValueStoreOperation<T,R> callback)
|
|
|
set(B bucket,
K key,
V value,
AsyncKeyValueStoreOperation<V,R> callback)
Put an object in Riak at a specific bucket and key and invoke callback with the value pulled back out of Riak after the update, which contains full headers and metadata. |
|
|
set(B bucket,
K key,
V value,
QosParameters qosParams,
AsyncKeyValueStoreOperation<V,R> callback)
|
|
|
setAsBytes(B bucket,
K key,
byte[] value,
AsyncKeyValueStoreOperation<byte[],R> callback)
|
|
|
setAsBytes(B bucket,
K key,
byte[] value,
QosParameters qosParams,
AsyncKeyValueStoreOperation<byte[],R> callback)
|
|
|
setIfKeyNonExistent(B bucket,
K key,
V value,
AsyncKeyValueStoreOperation<V,R> callback)
|
|
|
setIfKeyNonExistentAsBytes(B bucket,
K key,
byte[] value,
AsyncKeyValueStoreOperation<byte[],R> callback)
|
|
|
setWithMetaData(B bucket,
K key,
V value,
Map<String,String> metaData,
AsyncKeyValueStoreOperation<V,R> callback)
|
|
|
setWithMetaData(B bucket,
K key,
V value,
Map<String,String> metaData,
QosParameters qosParams,
AsyncKeyValueStoreOperation<V,R> callback)
|
Method Detail |
---|
<B,K,V,R> Future<?> set(B bucket, K key, V value, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
- callback
- Called with the update value pulled from Riak<B,K,V,R> Future<?> set(B bucket, K key, V value, QosParameters qosParams, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
- qosParams
-
<B,K,R> Future<?> setAsBytes(B bucket, K key, byte[] value, AsyncKeyValueStoreOperation<byte[],R> callback)
bucket
- key
- value
-
<B,K,R> Future<?> setAsBytes(B bucket, K key, byte[] value, QosParameters qosParams, AsyncKeyValueStoreOperation<byte[],R> callback)
bucket
- key
- value
- qosParams
-
<B,K,V,R> Future<?> setWithMetaData(B bucket, K key, V value, Map<String,String> metaData, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
- metaData
-
<B,K,V,R> Future<?> setWithMetaData(B bucket, K key, V value, Map<String,String> metaData, QosParameters qosParams, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
- metaData
- qosParams
-
<B,K,V,R> Future<?> get(B bucket, K key, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
-
<B,K,R> Future<?> getAsBytes(B bucket, K key, AsyncKeyValueStoreOperation<byte[],R> callback)
bucket
- key
-
<B,K,T,R> Future<?> getAsType(B bucket, K key, Class<T> requiredType, AsyncKeyValueStoreOperation<T,R> callback)
bucket
- key
- requiredType
-
<B,K,V,R> Future<?> getAndSet(B bucket, K key, V value, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
-
<B,K,R> Future<?> getAndSetAsBytes(B bucket, K key, byte[] value, AsyncKeyValueStoreOperation<byte[],R> callback)
bucket
- key
- value
-
<B,K,V,T,R> Future<?> getAndSetAsType(B bucket, K key, V value, Class<T> requiredType, AsyncKeyValueStoreOperation<T,R> callback)
bucket
- key
- value
- requiredType
-
<B,K,V,R> Future<?> setIfKeyNonExistent(B bucket, K key, V value, AsyncKeyValueStoreOperation<V,R> callback)
bucket
- key
- value
-
<B,K,R> Future<?> setIfKeyNonExistentAsBytes(B bucket, K key, byte[] value, AsyncKeyValueStoreOperation<byte[],R> callback)
bucket
- key
- value
-
<B,K,R> Future<?> containsKey(B bucket, K key, AsyncKeyValueStoreOperation<Boolean,R> callback)
bucket
- key
-
<B,K,R> Future<?> delete(B bucket, K key, AsyncKeyValueStoreOperation<Boolean,R> callback)
bucket
- key
-
|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |