Annotation Interface ConditionalOnVirtualThreads


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @ConditionalOnJava(TWENTY_ONE) @ConditionalOnProperty(name="spring.threads.virtual.enabled", havingValue="true") public @interface ConditionalOnVirtualThreads
@Conditional that only matches when virtual threads are available and enabled.
Since:
3.2.0
Author:
Moritz Halbritter