public class WorkerUtils extends Object
Modifier and Type | Method and 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 © 2020 JBoss by Red Hat. All rights reserved.