V
- - the type of objectpublic interface RBucket<V> extends RExpirable, RBucketAsync<V>
Modifier and Type | Method and Description |
---|---|
boolean |
compareAndSet(V expect,
V update) |
V |
get() |
V |
getAndDelete() |
V |
getAndSet(V newValue) |
void |
set(V value) |
void |
set(V value,
long timeToLive,
TimeUnit timeUnit) |
long |
size()
Returns size of object in bytes
|
boolean |
trySet(V value) |
boolean |
trySet(V value,
long timeToLive,
TimeUnit timeUnit) |
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch, unlink
compareAndSetAsync, getAndDeleteAsync, getAndSetAsync, getAsync, setAsync, setAsync, sizeAsync, trySetAsync, trySetAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsync
Copyright © 2014–2018 The Redisson Project. All rights reserved.