public interface RExpirable extends RObject
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearExpire()
Remove the existing timeout of Redisson object
|
boolean |
expire(long timeToLive,
TimeUnit timeUnit) |
boolean |
expireAt(Date timestamp) |
boolean |
expireAt(long timestamp) |
long |
remainTimeToLive()
Remaining time to live of Redisson object that has a timeout
|
boolean expire(long timeToLive,
TimeUnit timeUnit)
boolean expireAt(long timestamp)
boolean expireAt(Date timestamp)
boolean clearExpire()
true if timeout was removed
false if object does not exist or does not have an associated timeoutlong remainTimeToLive()
Copyright © 2014–2015. All rights reserved.