Interface SpallocServiceAPI.JobAPI

Enclosing interface:
SpallocServiceAPI

@Path("jobs/{id}")
public static interface SpallocServiceAPI.JobAPI
Interface to a particular job.
Author:
Donal Fellows
  • Method Summary

    Modifier and Type Method Description
    Response deleteJob​(String reason)
    Delete the job, or at least mark it as destroyed.
    void fastDataRead​(@uk.ac.manchester.spinnaker.machine.ValidX int gatherX, @uk.ac.manchester.spinnaker.machine.ValidY int gatherY, @uk.ac.manchester.spinnaker.machine.ValidX int ethX, @uk.ac.manchester.spinnaker.machine.ValidY int ethY, @IPAddress String ethAddress, int iptag, @uk.ac.manchester.spinnaker.machine.ValidX int x, @uk.ac.manchester.spinnaker.machine.ValidY int y, @uk.ac.manchester.spinnaker.machine.ValidP int p, long address, int size, AsyncResponse response)
    Read data from job boards using the fast data download protocol.
    void fastDataWrite​(@uk.ac.manchester.spinnaker.machine.ValidX int gatherX, @uk.ac.manchester.spinnaker.machine.ValidY int gatherY, @javax.validation.constraints.Positive int gatherP, @uk.ac.manchester.spinnaker.machine.ValidX int ethX, @uk.ac.manchester.spinnaker.machine.ValidY int ethY, @IPAddress String ethAddress, int iptag, @uk.ac.manchester.spinnaker.machine.ValidX int x, @uk.ac.manchester.spinnaker.machine.ValidY int y, long address, byte[] bytes, AsyncResponse response)
    Write data to job boards using the fast data protocol.
    WhereIsResponse getJobChipLocation​(@uk.ac.manchester.spinnaker.machine.ValidX int x, @uk.ac.manchester.spinnaker.machine.ValidY int y)
    Get the location description of a board given the job-local coordinates of a chip on that board.
    SubMachineResponse getMachine()
    Get a description of the (sub-)machine of the job.
    MachinePower getMachinePower()
    Get the current power state of the job's sub-machine.
    void getState​(boolean wait, AsyncResponse response)
    Describe the basic info about a job.
    String keepAlive​(String req)
    Keep the job alive.
    void prepareRoutingTables​(UriInfo uriInfo, AsyncResponse response)
    Clear routes, reset counters and install counting filters needed.
    void readDataFromJob​(@uk.ac.manchester.spinnaker.machine.ValidX int x, @uk.ac.manchester.spinnaker.machine.ValidY int y, long address, int size, AsyncResponse response)
    Read data from job boards.
    void reportBoardIssue​(IssueReportRequest report, AsyncResponse response)
    Report an issue with some boards.
    void setMachinePower​(@NotNull @Valid MachinePower req, AsyncResponse response)
    Set the power state of the job's sub-machine.
    void writeDataToJob​(@uk.ac.manchester.spinnaker.machine.ValidX int x, @uk.ac.manchester.spinnaker.machine.ValidY int y, long address, byte[] bytes, AsyncResponse response)
    Write data to job boards.