Package com.mojang.realmsclient.gui.task
Class IntervalBasedStartupDelay
java.lang.Object
com.mojang.realmsclient.gui.task.IntervalBasedStartupDelay
- All Implemented Interfaces:
RestartDelayCalculator
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionIntervalBasedStartupDelay
(Duration p_167563_) protected
IntervalBasedStartupDelay
(Duration p_167565_, Supplier<Clock> p_167566_) -
Method Summary
-
Field Details
-
interval
-
clock
-
lastStartedTimestamp
-
-
Constructor Details
-
IntervalBasedStartupDelay
-
IntervalBasedStartupDelay
-
-
Method Details
-
markExecutionStart
public void markExecutionStart()- Specified by:
markExecutionStart
in interfaceRestartDelayCalculator
-
getNextDelayMs
public long getNextDelayMs()- Specified by:
getNextDelayMs
in interfaceRestartDelayCalculator
-