Module 
Package org.xnio

Interface XnioExecutor.Key

  • Enclosing interface:
    XnioExecutor

    public static interface XnioExecutor.Key
    A task key for a timeout task.
    • Field Detail

      • IMMEDIATE

        static final XnioExecutor.Key IMMEDIATE
        An immediate key. When the time delay is <= 0, this may be returned and the task immediately run.
    • Method Detail

      • remove

        boolean remove()
        Remove a previously-submitted task.
        Returns:
        true if the task was cancelled; false if it already ran