Class TaskQueue.Prioritized

java.lang.Object
net.minecraft.util.thread.TaskQueue.Prioritized
All Implemented Interfaces:
TaskQueue<TaskQueue.PrioritizedTask,Runnable>
Enclosing interface:
TaskQueue<T,F>

public static final class TaskQueue.Prioritized extends Object implements TaskQueue<TaskQueue.PrioritizedTask,Runnable>
Mappings:
Namespace Name
official auf$a
intermediary net/minecraft/class_3847$class_3848
named net/minecraft/util/thread/TaskQueue$Prioritized
  • Field Details

    • field_35032

      private final Queue<Runnable>[] field_35032
      Mappings:
      Namespace Name Mixin selector
      official a Lauf$a;a:[Ljava/util/Queue;
      intermediary field_35032 Lnet/minecraft/class_3847$class_3848;field_35032:[Ljava/util/Queue;
      named field_35032 Lnet/minecraft/util/thread/TaskQueue$Prioritized;field_35032:[Ljava/util/Queue;
    • field_35033

      private final AtomicInteger field_35033
      Mappings:
      Namespace Name Mixin selector
      official b Lauf$a;b:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_35033 Lnet/minecraft/class_3847$class_3848;field_35033:Ljava/util/concurrent/atomic/AtomicInteger;
      named field_35033 Lnet/minecraft/util/thread/TaskQueue$Prioritized;field_35033:Ljava/util/concurrent/atomic/AtomicInteger;
  • Constructor Details

    • Prioritized

      public Prioritized(int priorityCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lauf$a;<init>(I)V
      intermediary <init> Lnet/minecraft/class_3847$class_3848;<init>(I)V
      named <init> Lnet/minecraft/util/thread/TaskQueue$Prioritized;<init>(I)V
  • Method Details

    • poll

      @Nullable public @Nullable Runnable poll()
      Specified by:
      poll in interface TaskQueue<TaskQueue.PrioritizedTask,Runnable>
      Mappings:
      Namespace Name Mixin selector
      official d Lauf$a;d()Ljava/lang/Runnable;
      intermediary method_17346 Lnet/minecraft/class_3847$class_3848;method_17346()Ljava/lang/Runnable;
      named poll Lnet/minecraft/util/thread/TaskQueue$Prioritized;poll()Ljava/lang/Runnable;
    • add

      public boolean add(TaskQueue.PrioritizedTask prioritizedTask)
      Specified by:
      add in interface TaskQueue<TaskQueue.PrioritizedTask,Runnable>
      Mappings:
      Namespace Name Mixin selector
      official a Lauf$a;a(Lauf$b;)Z
      intermediary method_16913 Lnet/minecraft/class_3847$class_3848;method_16913(Lnet/minecraft/class_3847$class_3907;)Z
      named add Lnet/minecraft/util/thread/TaskQueue$Prioritized;add(Lnet/minecraft/util/thread/TaskQueue$PrioritizedTask;)Z
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface TaskQueue<TaskQueue.PrioritizedTask,Runnable>
      Mappings:
      Namespace Name Mixin selector
      official b Lauf;b()Z
      intermediary method_16911 Lnet/minecraft/class_3847;method_16911()Z
      named isEmpty Lnet/minecraft/util/thread/TaskQueue;isEmpty()Z
    • getSize

      public int getSize()
      Specified by:
      getSize in interface TaskQueue<TaskQueue.PrioritizedTask,Runnable>
      Mappings:
      Namespace Name Mixin selector
      official c Lauf;c()I
      intermediary method_34706 Lnet/minecraft/class_3847;method_34706()I
      named getSize Lnet/minecraft/util/thread/TaskQueue;getSize()I