Interface VirtualThreads.Configurable

All Known Implementing Classes:
DelegatingThreadPool, ExecutorThreadPool, MonitoredQueuedThreadPool, QueuedThreadPool, VirtualThreadPool
Enclosing class:
VirtualThreads

public static interface VirtualThreads.Configurable

Implementations of this interface can be configured to use virtual threads.

Whether virtual threads are actually used depends on whether the runtime supports virtual threads and, if the runtime supports them, whether they are configured to be used via setVirtualThreadsExecutor(Executor).