Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
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(java.lang.Runnable command,
long time,
java.util.concurrent.TimeUnit unit)
Execute a command after a period of time.
|
XnioExecutor.Key |
XnioExecutor.executeAtInterval(java.lang.Runnable command,
long time,
java.util.concurrent.TimeUnit unit)
Execute a command repeatedly at a time interval until it is cancelled.
|
Copyright © 2016 JBoss, a division of Red Hat, Inc.