Interface ModelResolutionTaskRunner
public interface ModelResolutionTaskRunner
Task runner
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelResolutionTaskRunnerReturns an instance of a blocking task runner.static ModelResolutionTaskRunnerReturns an instance of a non-blocking task runner.voidrun(ModelResolutionTask task) Instructs a runner to run the passed in task.voidBlocking method that will return once all the tasks submitted by calling therun(ModelResolutionTask)method have been executed.
-
Method Details
-
getNonBlockingTaskRunner
Returns an instance of a non-blocking task runner.- Returns:
- an instance of a non-blocking task runner
-
getBlockingTaskRunner
Returns an instance of a blocking task runner.- Returns:
- an instance of a blocking task runner
-
run
Instructs a runner to run the passed in task.Whether this method is blocking or not will depend on the implementation.
- Parameters:
task- task to run
-
waitForCompletion
void waitForCompletion()Blocking method that will return once all the tasks submitted by calling therun(ModelResolutionTask)method have been executed.
-