Package net.minecraft.util.thread
Class ReentrantThreadExecutor<R extends Runnable>
java.lang.Object
net.minecraft.util.thread.ThreadExecutor<R>
net.minecraft.util.thread.ReentrantThreadExecutor<R>
- All Implemented Interfaces:
- AutoCloseable,- Executor,- MessageListener<R>,- SampleableExecutor
- Direct Known Subclasses:
- MinecraftClient,- MinecraftServer
- Mappings:
- Namespace - Name - official - azd- intermediary - net/minecraft/class_4093- named - net/minecraft/util/thread/ReentrantThreadExecutor
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.util.thread.ThreadExecutorcancelTasks, canExecute, createSamplers, createTask, execute, executeSync, getName, getTaskCount, getThread, isOnThread, runTask, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasksMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.MessageListenerask, askFallible, close
- 
Field Details- 
runningTasksprivate int runningTasks- Mappings:
- Namespace - Name - Mixin selector - official - b- Lazd;b:I- intermediary - field_18320- Lnet/minecraft/class_4093;field_18320:I- named - runningTasks- Lnet/minecraft/util/thread/ReentrantThreadExecutor;runningTasks:I
 
 
- 
- 
Constructor Details- 
ReentrantThreadExecutor- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Layz;<init>(Ljava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_1255;<init>(Ljava/lang/String;)V- named - <init>- Lnet/minecraft/util/thread/ThreadExecutor;<init>(Ljava/lang/String;)V
 
 
- 
- 
Method Details- 
shouldExecuteAsyncpublic boolean shouldExecuteAsync()- Overrides:
- shouldExecuteAsyncin class- ThreadExecutor<R extends Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - at- Layz;at()Z- intermediary - method_5384- Lnet/minecraft/class_1255;method_5384()Z- named - shouldExecuteAsync- Lnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z
 
- 
hasRunningTasksprotected boolean hasRunningTasks()- Mappings:
- Namespace - Name - Mixin selector - official - bs- Lazd;bs()Z- intermediary - method_18860- Lnet/minecraft/class_4093;method_18860()Z- named - hasRunningTasks- Lnet/minecraft/util/thread/ReentrantThreadExecutor;hasRunningTasks()Z
 
- 
executeTask- Overrides:
- executeTaskin class- ThreadExecutor<R extends Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - d- Layz;d(Ljava/lang/Runnable;)V- intermediary - method_18859- Lnet/minecraft/class_1255;method_18859(Ljava/lang/Runnable;)V- named - executeTask- Lnet/minecraft/util/thread/ThreadExecutor;executeTask(Ljava/lang/Runnable;)V
 
 
-