Class SolverClient.SolverThread
java.lang.Object
java.lang.Thread
jmva.link.SolverClient.SolverThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
SolverClient
Thread used to solve the model.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTells if an InputDataException was thrownTells if an OutOfMemory error was thrownTells if a SolverException was thrownvoidrun()Starts SolverDispatcherMethods inherited from class Thread
activeCount, checkAccess, clone, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
SolverThread
Creates a solver thread- Parameters:
solver- reference to a SolverDispatcher objectmodel- file to be opened
-
-
Method Details
-
run
-
getInputException
Tells if an InputDataException was thrown- Returns:
- thrown InputDataException or null if none was raised
-
getSolverException
Tells if a SolverException was thrown- Returns:
- thrown SolverException or null if none was raised
-
getOutOfMemoryError
Tells if an OutOfMemory error was thrown- Returns:
- thrown OutOfMemory or null if none was raised
-