Modifier and Type | Method and Description |
---|---|
boolean |
expired()
Returns whether this entry can be considered expired.
|
java.util.Optional<java.time.Duration> |
getRemainingTime()
The amount of time remaining before this entry expires, if applicable.
|
boolean |
isCurrentlyTicking()
Denotes whether the timer is currently ticking down (that is, if
getRemainingTime() should be decreasing with
each call. |
java.util.Optional<java.time.Duration> getRemainingTime()
boolean expired()
boolean isCurrentlyTicking()
getRemainingTime()
should be decreasing with
each call.true
if so.