Package jmri.util

Interface ThreadingUtil.ThreadAction

  • All Superinterfaces:
    java.lang.Runnable
    All Known Implementing Classes:
    SerialDCCppPacketizer.RefreshAction
    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.

    @FunctionalInterface
    public static interface ThreadingUtil.ThreadAction
    extends java.lang.Runnable
    Interface for use in ThreadingUtil's lambda interfaces
    • Method Detail

      • run

        void run()

        Must handle its own exceptions.

        Specified by:
        run in interface java.lang.Runnable