Class HostExecuteDataSpecification
java.lang.Object
uk.ac.manchester.spinnaker.front_end.BoardLocalSupport
uk.ac.manchester.spinnaker.front_end.dse.ExecuteDataSpecification
uk.ac.manchester.spinnaker.front_end.dse.HostExecuteDataSpecification
- All Implemented Interfaces:
AutoCloseable
public class HostExecuteDataSpecification extends ExecuteDataSpecification
Executes the host based data specification.
- Author:
- Donal Fellows
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.manchester.spinnaker.front_end.BoardLocalSupport
BoardLocalSupport.BoardLocal
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HostExecuteDataSpecification(Machine machine, DSEDatabaseEngine db)
Create a high-level DSE interface. -
Method Summary
Methods inherited from class uk.ac.manchester.spinnaker.front_end.dse.ExecuteDataSpecification
processTasksInParallel
Methods inherited from class uk.ac.manchester.spinnaker.front_end.BoardLocalSupport
getJob, getTransceiver
-
Constructor Details
-
HostExecuteDataSpecification
@MustBeClosed public HostExecuteDataSpecification(Machine machine, DSEDatabaseEngine db) throws IOException, InterruptedException, StorageException, URISyntaxException, SpinnmanExceptionCreate a high-level DSE interface.- Parameters:
machine
- The description of the SpiNNaker machine.db
- The DSE database.- Throws:
IOException
- If the transceiver can't talk to its sockets.InterruptedException
- If communications are interrupted.URISyntaxException
- If the URI is not valid.StorageException
- If the database cannot be read.SpinnmanException
- If there is an issue creating the transceiver.IllegalStateException
- If something really strange occurs with talking to the BMP; this constructor should not be doing that!
-
-
Method Details
-
loadCores
public void loadCores(boolean system) throws StorageException, IOException, ProcessException, InterruptedExceptionExecute all application data specifications that a particular connection knows about, storing back in the database the information collected about those executions.- Parameters:
system
- Iftrue
, loads system cores. Iffalse
, loads non-system (i.e., application) cores.- Throws:
StorageException
- If the database can't be talked to.IOException
- If the transceiver can't talk to its sockets.ProcessException
- If SpiNNaker rejects a message.InterruptedException
- If communications are interrupted.IllegalStateException
- If an unexpected exception occurs in any of the parallel tasks.
-
close
- Throws:
IOException
-