Interface Threads.Timer

Enclosing class:
Threads

public static interface Threads.Timer
Expires after defined time period.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
  • Method Details

    • expired

      boolean expired()
      Returns:
      true if current time is greater than start time plus requested time period
    • remaining

      Duration remaining()