public class WorkerUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static org.xnio.XnioExecutor.Key |
executeAfter(org.xnio.XnioIoThread thread,
java.lang.Runnable task,
long timeout,
java.util.concurrent.TimeUnit timeUnit) |
Schedules a task for future execution.
|
public static org.xnio.XnioExecutor.Key executeAfter(org.xnio.XnioIoThread thread,
java.lang.Runnable task,
long timeout,
java.util.concurrent.TimeUnit timeUnit)
thread - The IO threadtask - The task to executetimeout - The timeouttimeUnit - The time unitCopyright © 2018. All rights reserved.