Class DockerExecutorFactory.Executor
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.jobmanager.DockerExecutorFactory.Executor
- All Implemented Interfaces:
JobExecuter
- Enclosing class:
- DockerExecutorFactory
protected final class DockerExecutorFactory.Executor extends Object implements JobExecuter
Job executor that uses Docker.
-
Method Summary
Modifier and Type Method Description String
getExecuterId()
Gets the id of the executer.void
startExecuter()
Starts the external job.protected void
waitForExit()
Monitors the status of the docker container.
-
Method Details
-
getExecuterId
Description copied from interface:JobExecuter
Gets the id of the executer.- Specified by:
getExecuterId
in interfaceJobExecuter
- Returns:
- The id
-
startExecuter
public void startExecuter()Description copied from interface:JobExecuter
Starts the external job. Expected to launch a thread and/or process immediately.- Specified by:
startExecuter
in interfaceJobExecuter
-
waitForExit
protected void waitForExit()Monitors the status of the docker container.
-