Package de.dlr.proseo.planner.dispatcher
Class KubeDispatcher
java.lang.Object
java.lang.Thread
de.dlr.proseo.planner.dispatcher.KubeDispatcher
- All Implemented Interfaces:
Runnable
Dispatcher to look for runnable job steps
- Author:
- Ernst Melchinger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionKubeDispatcher(ProductionPlanner planner, KubeConfig kubeConfiguration, Boolean onlyRun) Create new KubeDispatcher for planner -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()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 externallyMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
KubeDispatcher
Create new KubeDispatcher for planner- Parameters:
planner- The plannerkubeConfiguration- The facility's kube configurationonlyRun- set to true to evaluate only runnable job steps or to false to check all job steps
-
-
Method Details