org.xnio
Interface XnioExecutor.Key
- Enclosing interface:
- XnioExecutor
public static interface XnioExecutor.Key
A task key for a timeout task.
Method Summary |
boolean |
remove()
Remove a previously-submitted task. |
IMMEDIATE
static final XnioExecutor.Key IMMEDIATE
- An immediate key. When the time delay is <= 0, this may be returned and the task immediately run.
remove
boolean remove()
- Remove a previously-submitted task.
- Returns:
true
if the task was cancelled; false
if it already ran
Copyright © 2010 JBoss, a division of Red Hat, Inc.