public class WorkerExecutorService
extends java.util.concurrent.AbstractExecutorService
Constructor and Description |
---|
WorkerExecutorService(java.lang.String name,
int size,
long timeout,
java.util.concurrent.TimeUnit unit) |
WorkerExecutorService(java.lang.String name,
int size,
long timeout,
java.util.concurrent.TimeUnit unit,
java.lang.Runnable preRunExecution) |
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
execute(java.lang.Runnable command) |
io.vertx.core.WorkerExecutor |
impl() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
java.util.List<java.lang.Runnable> |
shutdownNow() |
public WorkerExecutorService(java.lang.String name, int size, long timeout, java.util.concurrent.TimeUnit unit)
public WorkerExecutorService(java.lang.String name, int size, long timeout, java.util.concurrent.TimeUnit unit, java.lang.Runnable preRunExecution)
public io.vertx.core.WorkerExecutor impl()
public void shutdown()
public java.util.List<java.lang.Runnable> shutdownNow()
public boolean isShutdown()
public boolean isTerminated()
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public void execute(java.lang.Runnable command)
Copyright © 2021. All Rights Reserved.