Class FallbackVirtualThreadsExecutorService

  • All Implemented Interfaces:
    Executor, ExecutorService

    class FallbackVirtualThreadsExecutorService
    extends AbstractExecutorService
    Fallback executor service implementation in case the virtual threads are disabled or not available on the current platform.

    Executes tasks on the current Vert.x context worker pool, or when not available, on the Mutiny Infrastructure default worker pool Shutdown methods are no-op as the executor service is a wrapper around these previous execute methods.

    • Constructor Detail

      • FallbackVirtualThreadsExecutorService

        FallbackVirtualThreadsExecutorService()
    • Method Detail

      • execute

        public void execute​(Runnable command)
      • shutdown

        public void shutdown()
      • isShutdown

        public boolean isShutdown()
      • isTerminated

        public boolean isTerminated()
      • awaitTermination

        public boolean awaitTermination​(long timeout,
                                        TimeUnit unit)