Package jmri.util

Interface ThreadingUtil.ThreadActionWithJmriException

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

Interface for use in ThreadingUtil's lambda interfaces
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    When an object implementing interface ThreadActionWithJmriException is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
  • Method Details

    • run

      When an object implementing interface ThreadActionWithJmriException is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

      The general contract of the method run is that it may take any action whatsoever.

      Throws:
      JmriException - when an exception occurs
      RuntimeException - when an exception occurs
      See Also: