Logical timer that is only bound to the timestamps of the events tracked against it.
In such setting, all events occur immediately, i.e. isReady() always return true,
and the duration of the delay to the next event is always 0.
Current time for this timer is always the timestamp of the tracked event that is
the most distant in the future.
Get current time in milliseconds since the beginning of the epoch (01/01/1970).
This timer implementation always returns the timestamp of the most distant
future event ever checked against this timer in getDuration() or isReady() methods.
Return 0 if there were no calls yet to getDuration() or isReady().
Deprecated.[REEF-1532] Prefer passing Time object instead of the numeric timestamp.
Remove after release 0.16.
Get the number of milliseconds between current time as tracked by the Timer implementation
and a given event. This implementation always returns 0 and updates current timer's time
to the timestamp of the most distant future event.
Get the number of milliseconds between current time as tracked by the Timer implementation
and a given event. This implementation always returns 0 and updates current timer's time
to the timestamp of the most distant future event.
Deprecated.[REEF-1532] Prefer passing Time object instead of the numeric timestamp.
Remove after release 0.16.
Check if the event with a given timestamp has occurred, according to the timer.
This implementation always returns true and updates current timer's time to the timestamp
of the most distant future event.
Check if the event with a given timestamp has occurred, according to the timer.
This implementation always returns true and updates current timer's time to the timestamp
of the most distant future event.