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,- SampleableExecutor,- TaskExecutor<R>
- Direct Known Subclasses:
- MinecraftClient,- MinecraftServer
- Mappings:
- Namespace - Name - named - net/minecraft/util/thread/ReentrantThreadExecutor- intermediary - net/minecraft/class_4093- official - bre
- 
Field SummaryFieldsFields inherited from class net.minecraft.util.thread.ThreadExecutorfield_52421
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.util.thread.ThreadExecutorcancelTasks, canExecute, createSamplers, execute, executeSync, getName, getTaskCount, getThread, isMemoryError, 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.TaskExecutorclose, createTask, executeAsync
- 
Field Details- 
runningTasksprivate int runningTasks- Mappings:
- Namespace - Name - Mixin selector - named - runningTasks- Lnet/minecraft/util/thread/ReentrantThreadExecutor;runningTasks:I- intermediary - field_18320- Lnet/minecraft/class_4093;field_18320:I- official - b- Lbre;b:I
 
 
- 
- 
Constructor Details- 
ReentrantThreadExecutor- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/util/thread/ThreadExecutor;<init>(Ljava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_1255;<init>(Ljava/lang/String;)V- official - <init>- Lbra;<init>(Ljava/lang/String;)V
 
 
- 
- 
Method Details- 
shouldExecuteAsyncpublic boolean shouldExecuteAsync()- Overrides:
- shouldExecuteAsyncin class- ThreadExecutor<R extends Runnable>
- Mappings:
- Namespace - Name - Mixin selector - named - shouldExecuteAsync- Lnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z- intermediary - method_5384- Lnet/minecraft/class_1255;method_5384()Z- official - ax- Lbra;ax()Z
 
- 
hasRunningTasksprotected boolean hasRunningTasks()- Mappings:
- Namespace - Name - Mixin selector - named - hasRunningTasks- Lnet/minecraft/util/thread/ReentrantThreadExecutor;hasRunningTasks()Z- intermediary - method_18860- Lnet/minecraft/class_4093;method_18860()Z- official - bB- Lbre;bB()Z
 
- 
executeTask- Overrides:
- executeTaskin class- ThreadExecutor<R extends Runnable>
- Mappings:
- Namespace - Name - Mixin selector - named - executeTask- Lnet/minecraft/util/thread/ThreadExecutor;executeTask(Ljava/lang/Runnable;)V- intermediary - method_18859- Lnet/minecraft/class_1255;method_18859(Ljava/lang/Runnable;)V- official - d- Lbra;d(Ljava/lang/Runnable;)V
 
 
-