Package net.minecraft.client.util
Class ExponentialBackoff
java.lang.Object
net.minecraft.client.util.ExponentialBackoff
- All Implemented Interfaces:
Runnable
An implementation of an exponential backoff algorithm with the upper limit
on delay. The implementation does not require a specific time unit (such as ticks,
seconds, etc); the only requirement is that
run() method is called
periodically.- Mappings:
Namespace Name official ediintermediary net/minecraft/class_7526named net/minecraft/client/util/ExponentialBackoff
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA runner for the exponential backoff. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final intprivate final ExponentialBackoff.Runnerprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLedi;a:Lorg/slf4j/Logger;intermediary field_39487Lnet/minecraft/class_7526;field_39487:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/util/ExponentialBackoff;LOGGER:Lorg/slf4j/Logger;
-
runner
- Mappings:
Namespace Name Mixin selector official bLedi;b:Ledi$a;intermediary field_39488Lnet/minecraft/class_7526;field_39488:Lnet/minecraft/class_7526$class_7527;named runnerLnet/minecraft/client/util/ExponentialBackoff;runner:Lnet/minecraft/client/util/ExponentialBackoff$Runner;
-
maxSkippableRuns
private final int maxSkippableRuns- Mappings:
Namespace Name Mixin selector official cLedi;c:Iintermediary field_39489Lnet/minecraft/class_7526;field_39489:Inamed maxSkippableRunsLnet/minecraft/client/util/ExponentialBackoff;maxSkippableRuns:I
-
runsToSkip
private int runsToSkip- Mappings:
Namespace Name Mixin selector official dLedi;d:Iintermediary field_39490Lnet/minecraft/class_7526;field_39490:Inamed runsToSkipLnet/minecraft/client/util/ExponentialBackoff;runsToSkip:I
-
skippedRuns
private int skippedRuns- Mappings:
Namespace Name Mixin selector official eLedi;e:Iintermediary field_39491Lnet/minecraft/class_7526;field_39491:Inamed skippedRunsLnet/minecraft/client/util/ExponentialBackoff;skippedRuns:I
-
-
Constructor Details
-
ExponentialBackoff
- Mappings:
Namespace Name Mixin selector official <init>Ledi;<init>(Ledi$a;I)Vintermediary <init>Lnet/minecraft/class_7526;<init>(Lnet/minecraft/class_7526$class_7527;I)Vnamed <init>Lnet/minecraft/client/util/ExponentialBackoff;<init>(Lnet/minecraft/client/util/ExponentialBackoff$Runner;I)V
-
-
Method Details