We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa94593 commit 039c64bCopy full SHA for 039c64b
spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java
@@ -537,4 +537,22 @@ protected void initiateEarlyShutdown() {
537
initiateShutdown();
538
}
539
540
+ /**
541
+ * Whether this executor is using virtual threads.
542
+ * @return {@code true} if using virtual threads
543
+ * @since 6.2.1
544
+ */
545
+ public boolean isVirtualThreads() {
546
+ return this.virtualThreads;
547
+ }
548
+
549
550
+ * Executor beanName.
551
+ * @return the executor beanName
552
553
554
+ @Nullable
555
+ public String getBeanName() {
556
+ return this.beanName;
557
558
0 commit comments