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(String, boolean)
.- Mappings:
Namespace Name named net/minecraft/util/thread/GroupAssigningThreadFactory
intermediary net/minecraft/class_6014
official bpn
-
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 named LOGGER
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;LOGGER:Lorg/slf4j/Logger;
intermediary field_29936
Lnet/minecraft/class_6014;field_29936:Lorg/slf4j/Logger;
official a
Lbpn;a:Lorg/slf4j/Logger;
-
group
- Mappings:
Namespace Name Mixin selector named group
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;group:Ljava/lang/ThreadGroup;
intermediary field_29937
Lnet/minecraft/class_6014;field_29937:Ljava/lang/ThreadGroup;
official b
Lbpn;b:Ljava/lang/ThreadGroup;
-
nextIndex
- Mappings:
Namespace Name Mixin selector named nextIndex
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;nextIndex:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_29938
Lnet/minecraft/class_6014;field_29938:Ljava/util/concurrent/atomic/AtomicInteger;
official c
Lbpn;c:Ljava/util/concurrent/atomic/AtomicInteger;
-
prefix
- Mappings:
Namespace Name Mixin selector named prefix
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;prefix:Ljava/lang/String;
intermediary field_29939
Lnet/minecraft/class_6014;field_29939:Ljava/lang/String;
official d
Lbpn;d:Ljava/lang/String;
-
-
Constructor Details
-
GroupAssigningThreadFactory
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6014;<init>(Ljava/lang/String;)V
official <init>
Lbpn;<init>(Ljava/lang/String;)V
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
- Mappings:
Namespace Name Mixin selector named newThread
Lnet/minecraft/util/thread/GroupAssigningThreadFactory;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
intermediary newThread
Lnet/minecraft/class_6014;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
official newThread
Lbpn;newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
-