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) |
boolean |
trySet(V value) |
boolean |
trySet(V value,
long timeToLive,
TimeUnit timeUnit) |
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getName, isExists, migrate, move, rename, renamenx
compareAndSetAsync, getAndSetAsync, getAsync, setAsync, setAsync, trySetAsync, trySetAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
Copyright © 2014–2016. All rights reserved.