Uses of Interface
java.lang.Thread.Builder
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of Thread.Builder in java.lang
Modifier and TypeInterfaceDescriptionstatic interface
A builder for creating a platformThread
orThreadFactory
that creates platform threads.static interface
A builder for creating a virtualThread
orThreadFactory
that creates virtual threads.Modifier and TypeMethodDescriptionThread.Builder.inheritInheritableThreadLocals
(boolean inherit) Sets whether the thread inherits the initial values of inheritable-thread-local variables from the constructing thread.Sets the thread name.Sets the thread name to be the concatenation of a string prefix and the string representation of a counter value.Thread.Builder.uncaughtExceptionHandler
(Thread.UncaughtExceptionHandler ueh) Sets the uncaught exception handler.