RObjectAsync
RAtomicDouble
, RAtomicDoubleAsync
, RAtomicLong
, RAtomicLongAsync
, RBinaryStream
, RBitSet
, RBitSetAsync
, RBlockingDeque<V>
, RBlockingDequeAsync<V>
, RBlockingQueue<V>
, RBlockingQueueAsync<V>
, RBloomFilter<T>
, RBoundedBlockingQueue<V>
, RBoundedBlockingQueueAsync<V>
, RBucket<V>
, RBucketAsync<V>
, RCollectionAsync<V>
, RDelayedQueue<V>
, RDeque<V>
, RDequeAsync<V>
, RDoubleAdder
, RExpirable
, RGeo<V>
, RGeoAsync<V>
, RHyperLogLog<V>
, RHyperLogLogAsync<V>
, RLexSortedSet
, RLexSortedSetAsync
, RList<V>
, RListAsync<V>
, RListMultimap<K,V>
, RListMultimapCache<K,V>
, RLocalCachedMap<K,V>
, RLock
, RLockAsync
, RLongAdder
, RMap<K,V>
, RMapAsync<K,V>
, RMapCache<K,V>
, RMapCacheAsync<K,V>
, RMultimap<K,V>
, RMultimapAsync<K,V>
, RMultimapCache<K,V>
, RMultimapCacheAsync<K,V>
, RPermitExpirableSemaphore
, RPermitExpirableSemaphoreAsync
, RPriorityBlockingDeque<V>
, RPriorityBlockingQueue<V>
, RQueue<V>
, RQueueAsync<V>
, RReadWriteLock
, RScoredSortedSet<V>
, RScoredSortedSetAsync<V>
, RSemaphore
, RSemaphoreAsync
, RSet<V>
, RSetAsync<V>
, RSetCache<V>
, RSetCacheAsync<V>
, RSetMultimap<K,V>
, RSetMultimapCache<K,V>
, RStream<K,V>
, RStreamAsync<K,V>
RedissonAtomicDouble
, RedissonAtomicLong
, RedissonBaseAdder
, RedissonBinaryStream
, RedissonBitSet
, RedissonBlockingDeque
, RedissonBlockingQueue
, RedissonBloomFilter
, RedissonBoundedBlockingQueue
, RedissonBucket
, RedissonDelayedQueue
, RedissonDeque
, RedissonDoubleAdder
, RedissonFairLock
, RedissonGeo
, RedissonHyperLogLog
, RedissonLexSortedSet
, RedissonList
, RedissonListMultimap
, RedissonListMultimapCache
, RedissonListMultimapValues
, RedissonLocalCachedMap
, RedissonLock
, RedissonLongAdder
, RedissonMap
, RedissonMapCache
, RedissonMultimap
, RedissonPermitExpirableSemaphore
, RedissonPriorityBlockingDeque
, RedissonPriorityBlockingQueue
, RedissonPriorityDeque
, RedissonPriorityQueue
, RedissonQueue
, RedissonQueueSemaphore
, RedissonReadLock
, RedissonReadWriteLock
, RedissonScoredSortedSet
, RedissonSemaphore
, RedissonSet
, RedissonSetCache
, RedissonSetMultimap
, RedissonSetMultimapCache
, RedissonSetMultimapValues
, RedissonStream
, RedissonSubList
, RedissonTransactionalBucket
, RedissonTransactionalLocalCachedMap
, RedissonTransactionalLock
, RedissonTransactionalMap
, RedissonTransactionalMapCache
, RedissonTransactionalSet
, RedissonTransactionalSetCache
, RedissonWriteLock
public interface RExpirableAsync extends RObjectAsync
Modifier and Type | Method | Description |
---|---|---|
RFuture<Boolean> |
clearExpireAsync() |
Clear an expire timeout or expire date for object in async mode.
|
RFuture<Boolean> |
expireAsync(long timeToLive,
TimeUnit timeUnit) |
Set a timeout for object in async mode.
|
RFuture<Boolean> |
expireAtAsync(long timestamp) |
Set an expire date for object in async mode.
|
RFuture<Boolean> |
expireAtAsync(Date timestamp) |
Set an expire date for object in async mode.
|
RFuture<Long> |
remainTimeToLiveAsync() |
Remaining time to live of Redisson object that has a timeout
|
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
RFuture<Boolean> expireAsync(long timeToLive, TimeUnit timeUnit)
timeToLive
- - timeout before object will be deletedtimeUnit
- - timeout time unittrue
if the timeout was set and false
if notRFuture<Boolean> expireAtAsync(Date timestamp)
timestamp
- - expire datetrue
if the timeout was set and false
if notRFuture<Boolean> expireAtAsync(long timestamp)
timestamp
- - expire date in seconds (Unix timestamp)true
if the timeout was set and false
if notRFuture<Boolean> clearExpireAsync()
true
if the timeout was cleared and false
if notCopyright © 2014–2018 The Redisson Project. All rights reserved.