Package de.dlr.proseo.planner.util
Klasse OrderPlanThread
java.lang.Object
java.lang.Thread
de.dlr.proseo.planner.util.OrderPlanThread
- Alle implementierten Schnittstellen:
Runnable
Thread to plan a processing order
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Feldübersicht
Von Klasse geerbte Felder java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungOrderPlanThread
(ProductionPlanner productionPlanner, OrderDispatcher orderDispatcher, long orderId, ProcessingFacility procFacility, String name) Create new thread -
Methodenübersicht
Von Klasse geerbte Methoden 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Konstruktordetails
-
OrderPlanThread
public OrderPlanThread(ProductionPlanner productionPlanner, OrderDispatcher orderDispatcher, long orderId, ProcessingFacility procFacility, String name) Create new thread- Parameter:
productionPlanner
- The production planner instanceorderDispatcher
- Ther order dispatcherprocFacility
- The processing facility to run the ordername
- The thread nameorder
- The processing order to plan
-
-
Methodendetails
-
getResultMessage
- Gibt zurück:
- the resultMessage
-
run
public void run()Start and initialize the thread -
plan
Plan the order- Parameter:
orderId
- The id of the order- Gibt zurück:
- The result message
- Löst aus:
InterruptedException
-