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 Runnable task)
      Specified by:
      execute in interface Executor
      Specified by:
      execute in interface org.springframework.core.task.TaskExecutor
    • execute

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

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

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