V
- - the type of objectpublic interface RBucketAsync<V> extends RExpirableAsync
Modifier and Type | Method and 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
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsync
Copyright © 2014–2018 The Redisson Project. All rights reserved.