V
- - the type of objectRExpirableAsync
, RObjectAsync
RBinaryStream
, RBucket<V>
RedissonBinaryStream
, RedissonBucket
, RedissonTransactionalBucket
public interface RBucketAsync<V> extends RExpirableAsync
Modifier and Type | Method | Description |
---|---|---|
RFuture<Boolean> |
compareAndSetAsync(V expect,
V update) |
|
RFuture<V> |
getAndDeleteAsync() |
|
RFuture<V> |
getAndSetAsync(V newValue) |
|
RFuture<V> |
getAsync() |
|
RFuture<Void> |
setAsync(V value) |
|
RFuture<Void> |
setAsync(V value,
long timeToLive,
TimeUnit timeUnit) |
|
RFuture<Long> |
sizeAsync() |
Returns size of object in bytes
|
RFuture<Boolean> |
trySetAsync(V value) |
|
RFuture<Boolean> |
trySetAsync(V value,
long timeToLive,
TimeUnit timeUnit) |
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
Copyright © 2014–2018 The Redisson Project. All rights reserved.