Class WorkerExecutorService

java.lang.Object
java.util.concurrent.AbstractExecutorService
net.bluemind.lib.vertx.WorkerExecutorService
All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService

public class WorkerExecutorService extends AbstractExecutorService
  • Constructor Details

    • WorkerExecutorService

      public WorkerExecutorService(String name, int size, long timeout, TimeUnit unit)
    • WorkerExecutorService

      public WorkerExecutorService(String name, int size, Duration timeout)
    • WorkerExecutorService

      public WorkerExecutorService(String name, int size, long timeout, TimeUnit unit, Runnable preRunExecution)
  • Method Details

    • impl

      public io.vertx.core.WorkerExecutor impl()
    • shutdown

      public void shutdown()
    • shutdownNow

      public List<Runnable> shutdownNow()
    • isShutdown

      public boolean isShutdown()
    • isTerminated

      public boolean isTerminated()
    • awaitTermination

      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
      Throws:
      InterruptedException
    • execute

      public void execute(Runnable command)