Package net.bluemind.lib.vertx
Class WorkerExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
net.bluemind.lib.vertx.WorkerExecutorService
- All Implemented Interfaces:
AutoCloseable,Executor,ExecutorService
-
Constructor Summary
ConstructorsConstructorDescriptionWorkerExecutorService(String name, int size, long timeout, TimeUnit unit) WorkerExecutorService(String name, int size, long timeout, TimeUnit unit, Runnable preRunExecution) WorkerExecutorService(String name, int size, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long timeout, TimeUnit unit) voidio.vertx.core.WorkerExecutorimpl()booleanbooleanvoidshutdown()Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
close
-
Constructor Details
-
WorkerExecutorService
-
WorkerExecutorService
-
WorkerExecutorService
-
-
Method Details
-
impl
public io.vertx.core.WorkerExecutor impl() -
shutdown
public void shutdown() -
shutdownNow
-
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
awaitTermination
- Throws:
InterruptedException
-
execute
-