Module java.base
Package java.lang

Interface Thread.Builder.OfVirtual

All Superinterfaces:
Thread.Builder
Enclosing interface:
Thread.Builder

public static sealed interface Thread.Builder.OfVirtual extends Thread.Builder
A builder for creating a virtual Thread or ThreadFactory that creates virtual threads.

Unless otherwise specified, passing a null argument to a method in this interface causes a NullPointerException to be thrown.

Since:
21
See Also: