Uses of Interface
java.lang.Thread.Builder
Packages that use Thread.Builder
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of Thread.Builder in java.lang
Subinterfaces of Thread.Builder in java.langModifier and TypeInterfaceDescriptionstatic interfaceA builder for creating a platformThreadorThreadFactorythat creates platform threads.static interfaceA builder for creating a virtualThreadorThreadFactorythat creates virtual threads.Methods in java.lang that return Thread.BuilderModifier 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.