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 - ae- named - service- intermediary - comp_3205- official - a
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ExecutorServiceThe field for theservicerecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidfinal inthashCode()Returns a hash code value for this object.service()Returns the value of theservicerecord component.voidfinal StringtoString()Returns a string representation of this record class.private static RunnablewrapForTracy(Runnable runnable) 
- 
Field Details- 
serviceThe field for theservicerecord 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- Lae;a(Ljava/lang/String;)Ljava/util/concurrent/Executor;
 
- 
execute- Specified by:
- executein interface- Executor
- 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- Lae;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- Lae;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- Lae;a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
serviceReturns the value of theservicerecord component.- Returns:
- the value of the servicerecord component
 
 
-