Package net.minecraft.util.thread
Record Class NameableExecutor
java.lang.Object
java.lang.Record
net.minecraft.util.thread.NameableExecutor
- Record Components:
service
-
- All Implemented Interfaces:
Executor
- Mappings:
Namespace Name named net/minecraft/util/thread/NameableExecutor
intermediary net/minecraft/class_10207
official ad
named service
intermediary comp_3205
official a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ExecutorService
The field for theservice
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.void
final int
hashCode()
Returns a hash code value for this object.service()
Returns the value of theservice
record component.void
final String
toString()
Returns a string representation of this record class.private static Runnable
wrapForTracy
(Runnable runnable)
-
Field Details
-
service
The field for theservice
record component.
-
-
Constructor Details
-
NameableExecutor
-
-
Method Details
-
named
- Mappings:
Namespace Name Mixin selector named named
Lnet/minecraft/util/thread/NameableExecutor;named(Ljava/lang/String;)Ljava/util/concurrent/Executor;
intermediary method_64116
Lnet/minecraft/class_10207;method_64116(Ljava/lang/String;)Ljava/util/concurrent/Executor;
official a
Lad;a(Ljava/lang/String;)Ljava/util/concurrent/Executor;
-
execute
- Specified by:
execute
in interfaceExecutor
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/util/thread/NameableExecutor;execute(Ljava/lang/Runnable;)V
intermediary execute
Lnet/minecraft/class_10207;execute(Ljava/lang/Runnable;)V
official execute
Lad;execute(Ljava/lang/Runnable;)V
-
shutdown
- Mappings:
Namespace Name Mixin selector named shutdown
Lnet/minecraft/util/thread/NameableExecutor;shutdown(JLjava/util/concurrent/TimeUnit;)V
intermediary method_64114
Lnet/minecraft/class_10207;method_64114(JLjava/util/concurrent/TimeUnit;)V
official a
Lad;a(JLjava/util/concurrent/TimeUnit;)V
-
wrapForTracy
- Mappings:
Namespace Name Mixin selector named wrapForTracy
Lnet/minecraft/util/thread/NameableExecutor;wrapForTracy(Ljava/lang/Runnable;)Ljava/lang/Runnable;
intermediary method_64115
Lnet/minecraft/class_10207;method_64115(Ljava/lang/Runnable;)Ljava/lang/Runnable;
official a
Lad;a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
service
Returns the value of theservice
record component.- Returns:
- the value of the
service
record component
-