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