Interface Components.TimeoutHandler

Enclosing class:
Components
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Instances are added to the scheduler in order to be invoked at a given time.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the timeout occurs.
  • Method Details

    • timeout

      Invoked when the timeout occurs.
      Parameters:
      timer - the timer that has timed out and needs handling