Class DockerExecutorFactory
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.jobmanager.DockerExecutorFactory
- All Implemented Interfaces:
JobExecuterFactory
Executor factory that uses Docker to run jobs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected final classJob executor that uses Docker. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateJobExecuter(JobManager manager, URL baseUrl) Creates a newJobExecuter.protected voidCallback when the executor is finished.
-
Constructor Details
-
DockerExecutorFactory
public DockerExecutorFactory()Create a new docker factory.
-
-
Method Details
-
createJobExecuter
Description copied from interface:JobExecuterFactoryCreates a newJobExecuter.- Specified by:
createJobExecuterin interfaceJobExecuterFactory- Parameters:
manager- The manager requesting the creationbaseUrl- The URL of the manager- Returns:
- The new executer
- Throws:
IOException- If there is an error creating the executer
-
executorFinished
protected void executorFinished()Callback when the executor is finished.
-