Class PeriodicRunnerFactory.PeriodicRunner<T>

java.lang.Object
net.minecraft.client.realms.util.PeriodicRunnerFactory.PeriodicRunner<T>
Enclosing class:
PeriodicRunnerFactory

@Environment(CLIENT) public class PeriodicRunnerFactory.PeriodicRunner<T> extends Object
Mappings:
Namespace Name
official ekr$e
intermediary net/minecraft/class_7581$class_7586
named net/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official b Lekr$e;b:Ljava/lang/String;
      intermediary field_39707 Lnet/minecraft/class_7581$class_7586;field_39707:Ljava/lang/String;
      named name Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;name:Ljava/lang/String;
    • task

      private final Callable<T> task
      Mappings:
      Namespace Name Mixin selector
      official c Lekr$e;c:Ljava/util/concurrent/Callable;
      intermediary field_39708 Lnet/minecraft/class_7581$class_7586;field_39708:Ljava/util/concurrent/Callable;
      named task Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;task:Ljava/util/concurrent/Callable;
    • unitDuration

      private final long unitDuration
      Mappings:
      Namespace Name Mixin selector
      official d Lekr$e;d:J
      intermediary field_39709 Lnet/minecraft/class_7581$class_7586;field_39709:J
      named unitDuration Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;unitDuration:J
    • backoff

      private final Backoff backoff
      Mappings:
      Namespace Name Mixin selector
      official e Lekr$e;e:Leks;
      intermediary field_39710 Lnet/minecraft/class_7581$class_7586;field_39710:Lnet/minecraft/class_7587;
      named backoff Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;backoff:Lnet/minecraft/client/util/Backoff;
    • resultFuture

      Mappings:
      Namespace Name Mixin selector
      official f Lekr$e;f:Ljava/util/concurrent/CompletableFuture;
      intermediary field_39711 Lnet/minecraft/class_7581$class_7586;field_39711:Ljava/util/concurrent/CompletableFuture;
      named resultFuture Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;resultFuture:Ljava/util/concurrent/CompletableFuture;
    • lastResult

      Mappings:
      Namespace Name Mixin selector
      official g Lekr$e;g:Lekr$d;
      intermediary field_39712 Lnet/minecraft/class_7581$class_7586;field_39712:Lnet/minecraft/class_7581$class_7585;
      named lastResult Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;lastResult:Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$TimedResult;
    • nextTime

      private long nextTime
      Mappings:
      Namespace Name Mixin selector
      official h Lekr$e;h:J
      intermediary field_39713 Lnet/minecraft/class_7581$class_7586;field_39713:J
      named nextTime Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;nextTime:J
  • Constructor Details

    • PeriodicRunner

      PeriodicRunner(String name, Callable<T> task, long unitDuration, Backoff backoff)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lekr$e;<init>(Lekr;Ljava/lang/String;Ljava/util/concurrent/Callable;JLeks;)V
      intermediary <init> Lnet/minecraft/class_7581$class_7586;<init>(Lnet/minecraft/class_7581;Ljava/lang/String;Ljava/util/concurrent/Callable;JLnet/minecraft/class_7587;)V
      named <init> Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;<init>(Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;Ljava/lang/String;Ljava/util/concurrent/Callable;JLnet/minecraft/client/util/Backoff;)V
  • Method Details

    • run

      void run(long currentTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lekr$e;a(J)V
      intermediary method_44639 Lnet/minecraft/class_7581$class_7586;method_44639(J)V
      named run Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;run(J)V
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      official a Lekr$e;a()V
      intermediary method_44638 Lnet/minecraft/class_7581$class_7586;method_44638()V
      named reset Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;reset()V