Class ThreadService.ConfigurableLoopRunnable

java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.technical.ThreadService.ConfigurableLoopRunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
MonitorThread, RemoteEngineThread
Enclosing class:
ThreadService

public abstract static class ThreadService.ConfigurableLoopRunnable extends ThreadService.ConfigurableRunnable
The Class ConfigurableLoopRunnable.
  • Constructor Details

    • ConfigurableLoopRunnable

      public ConfigurableLoopRunnable()
  • Method Details

    • getLoop

      public final boolean getLoop()
      Gets the loop.
      Returns:
      the loop
    • setPause

      public final void setPause(long pause)
      Sets the pause.
      Parameters:
      pause - the new pause
    • setLoop

      public final void setLoop(boolean loop)
      Sets the loop.
      Parameters:
      loop - the new loop
    • shutdown

      public final void shutdown()
      Shutdown.
    • shutdown

      public final void shutdown(long timeout)
      Shutdown.
      Parameters:
      timeout - the timeout
    • configurableRun

      public final void configurableRun()
      Configurable run.
      Specified by:
      configurableRun in class ThreadService.ConfigurableRunnable
    • configurableLoopStart

      public void configurableLoopStart() throws Exception
      Configurable loop start.
      Throws:
      Exception - the exception
    • configurableLoopEnd

      public void configurableLoopEnd() throws Exception
      Configurable loop end.
      Throws:
      Exception - the exception
    • configurableLoopRun

      public abstract void configurableLoopRun() throws Exception
      Configurable loop run.
      Throws:
      Exception - the exception