Class XenVMExecuterFactory
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.jobmanager.XenVMExecuterFactory
- All Implemented Interfaces:
JobExecuterFactory
public class XenVMExecuterFactory extends Object implements JobExecuterFactory
Executer factory that uses Xen VMs.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
XenVMExecuterFactory.Executer
The executer core connector. -
Constructor Summary
Constructors Constructor Description XenVMExecuterFactory()
Create a new Xen Executor Factory. -
Method Summary
Modifier and Type Method Description JobExecuter
createJobExecuter(JobManager manager, URL baseUrl)
Creates a newJobExecuter
.protected void
executorFinished()
Callback when the executor is finished.
-
Constructor Details
-
XenVMExecuterFactory
public XenVMExecuterFactory()Create a new Xen Executor Factory.
-
-
Method Details
-
createJobExecuter
Description copied from interface:JobExecuterFactory
Creates a newJobExecuter
.- Specified by:
createJobExecuter
in 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.
-