Interface ITimeouts.IHandle

Enclosing interface:
ITimeouts

public static interface ITimeouts.IHandle
A scheduled timeout that can be cancelled.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cancels the timeout if it has not fired yet.
  • Method Details

    • cancel

      boolean cancel()
      Cancels the timeout if it has not fired yet.
      Returns:
      true if cancelled before firing, false if it had fired or was already cancelled.