Class AnalysisScheduler
java.lang.Object
de.firemage.autograder.core.parallel.AnalysisScheduler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollects all problems from all threads.protected booleanprotected ClassLoaderprotected Optional<AnalysisTask>getTask()voidsubmitTask(AnalysisTask task)
-
Constructor Details
-
AnalysisScheduler
-
-
Method Details
-
submitTask
-
getTask
- Throws:
InterruptedException
-
completeTask
protected boolean completeTask() -
getClassLoader
-
collectProblems
Collects all problems from all threads. This method is blocking! Never add more tasks *outside already submitted tasks* after calling this method, because they may never be executed.
-