Package | Description |
---|---|
io.undertow.util | |
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Method and Description |
---|---|
static XnioExecutor.Key |
WorkerUtils.executeAfter(XnioIoThread thread,
Runnable task,
long timeout,
TimeUnit timeUnit)
Schedules a task for future execution.
|
Modifier and Type | Field and Description |
---|---|
static XnioExecutor.Key |
XnioExecutor.Key.IMMEDIATE
An immediate key.
|
Modifier and Type | Method and Description |
---|---|
XnioExecutor.Key |
XnioExecutor.executeAfter(Runnable command,
long time,
TimeUnit unit)
Execute a command after a period of time.
|
XnioExecutor.Key |
XnioExecutor.executeAtInterval(Runnable command,
long time,
TimeUnit unit)
Execute a command repeatedly at a time interval until it is cancelled.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.