Class Operator.OperatorThread

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Operator

    public class Operator.OperatorThread
    extends Thread
    The thread that wraps an operator runnable
    • Method Detail

      • run

        public void run()
        Run method of this operator thread. This starts the operator runnable's run method and, upon exit, either accepts the SHUTDOWN state request, or goes silently.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • shouldRun

        public boolean shouldRun()
        Implement state request responses of this operator thread.
        Returns:
        true to run, false otherwise