Modifier and Type | Method and Description |
---|---|
boolean |
expired()
Returns whether this entry can be considered expired.
|
Optional<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. |
Optional<Duration> getRemainingTime()
boolean expired()
boolean isCurrentlyTicking()
getRemainingTime()
should be decreasing with
each call.true
if so.