Class VirtualThreadTaskExecutor

java.lang.Object
com.netflix.graphql.dgs.internal.VirtualThreadTaskExecutor
All Implemented Interfaces:
Executor, org.springframework.core.task.AsyncTaskExecutor, org.springframework.core.task.TaskExecutor

public class VirtualThreadTaskExecutor extends Object implements org.springframework.core.task.AsyncTaskExecutor
Unimplemented version of the VirtualThreadTaskExecutor just for reachability. The actual implementation is in the java21 source folder, using the multi-release JAR feature.
  • Constructor Details

    • VirtualThreadTaskExecutor

      public VirtualThreadTaskExecutor()
  • Method Details

    • execute

      public void execute(@NotNull @NotNull Runnable task)
      Specified by:
      execute in interface Executor
      Specified by:
      execute in interface org.springframework.core.task.TaskExecutor
    • execute

      @Deprecated public void execute(@NotNull @NotNull Runnable task, long startTimeout)
      Deprecated.
      Specified by:
      execute in interface org.springframework.core.task.AsyncTaskExecutor
    • submit

      @NotNull public @NotNull Future<?> submit(@NotNull @NotNull Runnable task)
      Specified by:
      submit in interface org.springframework.core.task.AsyncTaskExecutor
    • submit

      @NotNull public <T> @NotNull Future<T> submit(@NotNull @NotNull Callable<T> task)
      Specified by:
      submit in interface org.springframework.core.task.AsyncTaskExecutor