com.mojang.realmsclient.gui.task

public class RepeatableTask

implements Runnable

dwx
com.mojang.realmsclient.gui.task.RepeatableTask
net.minecraft.class_5784
net.minecraft.client.realms.gui.FetchTask
net.minecraft.src.C_141562_

Field summary

Modifier and TypeField
private final BooleanSupplier
a
isActive
field_28452
condition
f_167572_
private final RestartDelayCalculator
b
restartDelayCalculator
field_28453
rateLimiter
f_167573_
private final Duration
c
interval
field_28454
period
f_167574_
private final Runnable
d
runnable
field_28455
command
f_167575_

Constructor summary

ModifierConstructor
private (Runnable command, Duration period, BooleanSupplier condition, RestartDelayCalculator rateLimiter)

Method summary

Modifier and TypeMethod
public void
run()
run()
run()
public ScheduledFuture<?>
a(ScheduledExecutorService arg0)
schedule(ScheduledExecutorService arg0)
method_33419(ScheduledExecutorService arg0)
schedule(ScheduledExecutorService scheduler)
m_167585_(ScheduledExecutorService arg0)
public static RepeatableTask
a(Runnable arg0, Duration arg1, BooleanSupplier arg2)
withRestartDelayAccountingForInterval(Runnable arg0, Duration arg1, BooleanSupplier arg2)
method_33418(Runnable arg0, Duration arg1, BooleanSupplier arg2)
createRateLimited(Runnable command, Duration period, BooleanSupplier condition)
m_167581_(Runnable p_167582_, Duration p_167583_, BooleanSupplier p_167584_)
public static RepeatableTask
b(Runnable arg0, Duration arg1, BooleanSupplier arg2)
withImmediateRestart(Runnable arg0, Duration arg1, BooleanSupplier arg2)
method_33420(Runnable arg0, Duration arg1, BooleanSupplier arg2)
create(Runnable command, Duration period, BooleanSupplier condition)
m_167587_(Runnable p_167588_, Duration p_167589_, BooleanSupplier p_167590_)