Package net.minecraft.util.thread
Class GroupAssigningThreadFactory
java.lang.Object
net.minecraft.util.thread.GroupAssigningThreadFactory
- All Implemented Interfaces:
ThreadFactory
A custom thread factory that assigns each created thread to the group of the
system security manager or the factory-creating thread (when the security
manager does not exist). Otherwise, it behaves much like the thread creation
logic in
Util.createIoWorker()
.- Mappings:
Namespace Name official bcl
intermediary net/minecraft/class_6014
named net/minecraft/util/thread/GroupAssigningThreadFactory
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ThreadGroup
private static final Logger
private final AtomicInteger
private final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lbcl;a:Lorg/slf4j/Logger;
intermediary field_29936
Lnet/minecraft/class_6014;field_29936:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;LOGGER:Lorg/slf4j/Logger;
-
group
- Mappings:
Namespace Name Mixin selector official b
Lbcl;b:Ljava/lang/ThreadGroup;
intermediary field_29937
Lnet/minecraft/class_6014;field_29937:Ljava/lang/ThreadGroup;
named group
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;group:Ljava/lang/ThreadGroup;
-
nextIndex
- Mappings:
Namespace Name Mixin selector official c
Lbcl;c:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_29938
Lnet/minecraft/class_6014;field_29938:Ljava/util/concurrent/atomic/AtomicInteger;
named nextIndex
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;nextIndex:Ljava/util/concurrent/atomic/AtomicInteger;
-
prefix
- Mappings:
Namespace Name Mixin selector official d
Lbcl;d:Ljava/lang/String;
intermediary field_29939
Lnet/minecraft/class_6014;field_29939:Ljava/lang/String;
named prefix
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;prefix:Ljava/lang/String;
-
-
Constructor Details
-
GroupAssigningThreadFactory
- Mappings:
Namespace Name Mixin selector official <init>
Lbcl;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6014;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;<init>(Ljava/lang/String;)V
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
- Mappings:
Namespace Name Mixin selector official newThread
Lbcl;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
intermediary newThread
Lnet/minecraft/class_6014;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
named newThread
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
-