Class TimeoutProcessor.TimeoutFuture

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean cancel()
      Cancels a pending scheduled runnable
      boolean isDone()
      Test if the task has been completed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isDone

        public boolean isDone()
        Test if the task has been completed.
        Returns:
        true if the task was run or cancelled.
      • cancel

        public boolean cancel()
        Cancels a pending scheduled runnable
        Returns:
        true if the runnable task was not yet run.