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 |
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
compareAndSetAsync, getAndSetAsync, getAsync, setAsync, setAsync, sizeAsync, trySetAsync, trySetAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync
Copyright © 2014–2017 The Redisson Project. All rights reserved.