Class KubeDispatcher

java.lang.Object
java.lang.Thread
de.dlr.proseo.planner.dispatcher.KubeDispatcher
All Implemented Interfaces:
Runnable

public class KubeDispatcher extends Thread
Dispatcher to look for runnable job steps
Author:
Ernst Melchinger
  • Constructor Details

    • KubeDispatcher

      public KubeDispatcher(ProductionPlanner planner, KubeConfig kubeConfiguration, Boolean onlyRun)
      Create new KubeDispatcher for planner
      Parameters:
      planner - The planner
      kubeConfiguration - The facility's kube configuration
      onlyRun - set to true to evaluate only runnable job steps or to false to check all job steps
  • Method Details

    • run

      public void run()
      Checks for job steps, which are ready to run; depending on its creation parameter "runOnce" this is a one-time process or it is running cyclically until it is terminated externally
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
      See Also: