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