Record Class TracingExecutor
java.lang.Object
java.lang.Record
net.minecraft.TracingExecutor
- All Implemented Interfaces:
Executor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExecutorServiceThe field for theservicerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTracingExecutor(ExecutorService service) Creates an instance of aTracingExecutorrecord class. -
Method Summary
Modifier 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.voidshutdownAndAwait(long timeout, TimeUnit unit) final StringtoString()Returns a string representation of this record class.private static RunnablewrapUnnamed(Runnable command)
-
Field Details
-
service
The field for theservicerecord component.
-
-
Constructor Details
-
TracingExecutor
Creates an instance of aTracingExecutorrecord class.- Parameters:
service- the value for theservicerecord component
-
-
Method Details
-
forName
-
execute
-
shutdownAndAwait
-
wrapUnnamed
-
toString
-
hashCode
-
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 theservicerecord component.- Returns:
- the value of the
servicerecord component
-