Uses of Interface
java.lang.Thread.Builder
Packages that use Thread.BuilderPREVIEW
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of Thread.BuilderPREVIEW in java.lang
Subinterfaces of Thread.BuilderPREVIEW in java.langModifier and TypeInterfaceDescriptionstatic interfacePreview.A builder for creating a platformThreadorThreadFactorythat creates platform threads.static interfacePreview.A builder for creating a virtualThreadorThreadFactorythat creates virtual threads.Methods in java.lang that return Thread.BuilderPREVIEWModifier and TypeMethodDescriptionThread.Builder.allowSetThreadLocals(boolean allow) Sets whether the thread is allowed to set values for its copy of thread-local variables.Thread.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.