Class PeriodicRunnerFactory

java.lang.Object
net.minecraft.client.realms.util.PeriodicRunnerFactory

@Environment(CLIENT) public class PeriodicRunnerFactory extends Object
Mappings:
Namespace Name
official ekr
intermediary net/minecraft/class_7581
named net/minecraft/client/realms/util/PeriodicRunnerFactory
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lekr;a:Lorg/slf4j/Logger;
      intermediary field_39696 Lnet/minecraft/class_7581;field_39696:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;LOGGER:Lorg/slf4j/Logger;
    • executor

      final Executor executor
      Mappings:
      Namespace Name Mixin selector
      official b Lekr;b:Ljava/util/concurrent/Executor;
      intermediary field_39697 Lnet/minecraft/class_7581;field_39697:Ljava/util/concurrent/Executor;
      named executor Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;executor:Ljava/util/concurrent/Executor;
    • timeUnit

      final TimeUnit timeUnit
      Mappings:
      Namespace Name Mixin selector
      official c Lekr;c:Ljava/util/concurrent/TimeUnit;
      intermediary field_39698 Lnet/minecraft/class_7581;field_39698:Ljava/util/concurrent/TimeUnit;
      named timeUnit Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;timeUnit:Ljava/util/concurrent/TimeUnit;
    • timeSupplier

      final TimeSupplier timeSupplier
      Mappings:
      Namespace Name Mixin selector
      official d Lekr;d:Laqe;
      intermediary field_39699 Lnet/minecraft/class_7581;field_39699:Lnet/minecraft/class_7576;
      named timeSupplier Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;timeSupplier:Lnet/minecraft/util/TimeSupplier;
  • Constructor Details

    • PeriodicRunnerFactory

      public PeriodicRunnerFactory(Executor executor, TimeUnit timeUnit, TimeSupplier timeSupplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lekr;<init>(Ljava/util/concurrent/Executor;Ljava/util/concurrent/TimeUnit;Laqe;)V
      intermediary <init> Lnet/minecraft/class_7581;<init>(Ljava/util/concurrent/Executor;Ljava/util/concurrent/TimeUnit;Lnet/minecraft/class_7576;)V
      named <init> Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;<init>(Ljava/util/concurrent/Executor;Ljava/util/concurrent/TimeUnit;Lnet/minecraft/util/TimeSupplier;)V
  • Method Details

    • create

      public <T> PeriodicRunnerFactory.PeriodicRunner<T> create(String name, Callable<T> task, Duration cycle, Backoff backoff)
      Mappings:
      Namespace Name Mixin selector
      official a Lekr;a(Ljava/lang/String;Ljava/util/concurrent/Callable;Ljava/time/Duration;Leks;)Lekr$e;
      intermediary method_44629 Lnet/minecraft/class_7581;method_44629(Ljava/lang/String;Ljava/util/concurrent/Callable;Ljava/time/Duration;Lnet/minecraft/class_7587;)Lnet/minecraft/class_7581$class_7586;
      named create Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;create(Ljava/lang/String;Ljava/util/concurrent/Callable;Ljava/time/Duration;Lnet/minecraft/client/util/Backoff;)Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$PeriodicRunner;
    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lekr;a()Lekr$c;
      intermediary method_44628 Lnet/minecraft/class_7581;method_44628()Lnet/minecraft/class_7581$class_7584;
      named create Lnet/minecraft/client/realms/util/PeriodicRunnerFactory;create()Lnet/minecraft/client/realms/util/PeriodicRunnerFactory$RunnersManager;