Uses of Class
uk.ac.manchester.spinnaker.spalloc.exceptions.SpallocServerException
Packages that use SpallocServerException
Package
Description
SpiNNaker old-style machine allocation client.
-
Uses of SpallocServerException in uk.ac.manchester.spinnaker.spalloc
Methods in uk.ac.manchester.spinnaker.spalloc that throw SpallocServerExceptionModifier and TypeMethodDescriptionprotected void
SpallocJob.assertCompatibleVersion()
Assert that the server version is compatible.protected String
Send a command to the server and return the reply.default int
Create a job.int
Create a job.default int
SpallocAPI.createJob
(List<@PositiveOrZero Integer> args, Map<@NotBlank String, @NotNull Object> kwargs) Deprecated, for removal: This API element is subject to removal in a future version.int
SpallocAPI.createJob
(List<@PositiveOrZero Integer> args, Map<@NotBlank String, @NotNull Object> kwargs, @Positive Integer timeout) Deprecated, for removal: This API element is subject to removal in a future version.Consider usingSpallocAPI.createJob(CreateJob, Integer)
instead.int
Deprecated, for removal: This API element is subject to removal in a future version.int
void
default void
SpallocJobAPI.destroy()
Destroy the job and disconnect from the server.void
Destroy the job and disconnect from the server.default void
SpallocAPI.destroyJob
(int jobID, @NotBlank String reason) Destroy a job.void
SpallocAPI.destroyJob
(int jobID, @NotBlank String reason, @Positive Integer timeout) Destroy a job.void
SpallocClient.destroyJob
(int jobID, String reason, Integer timeout) default BoardCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid PhysicalCoords coords) Get the logical location of a board.SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid PhysicalCoords coords, @Positive Integer timeout) Get the logical location of a board.default BoardPhysicalCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid TriadCoords coords) Get the physical location of a board.SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid TriadCoords coords, @Positive Integer timeout) Get the physical location of a board.default BoardPhysicalCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid BoardCoordinates coords) Get the physical location of a board.default BoardPhysicalCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid BoardCoordinates coords, @Positive Integer timeout) Get the physical location of a board.default BoardCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid BoardPhysicalCoordinates coords) Get the logical location of a board.default BoardCoordinates
SpallocAPI.getBoardPosition
(@NotBlank String machineName, @Valid BoardPhysicalCoordinates coords, @Positive Integer timeout) Get the logical location of a board.SpallocClient.getBoardPosition
(String machineName, PhysicalCoords coords, Integer timeout) SpallocClient.getBoardPosition
(String machineName, TriadCoords coords, Integer timeout) SpallocJob.getBoards()
SpallocJobAPI.getBoards()
SpallocJob.getConnections()
SpallocJobAPI.getConnections()
SpallocJob.getDestroyReason()
SpallocJobAPI.getDestroyReason()
SpallocJob.getDimensions()
SpallocJobAPI.getDimensions()
SpallocJob.getHostname()
SpallocJobAPI.getHostname()
default JobMachineInfo
SpallocAPI.getJobMachineInfo
(int jobID) Get information about a job's allocated machine.SpallocAPI.getJobMachineInfo
(int jobID, @Positive Integer timeout) Get information about a job's allocated machine.SpallocClient.getJobMachineInfo
(int jobID, Integer timeout) default JobState
SpallocAPI.getJobState
(int jobID) Get the state of a job.SpallocAPI.getJobState
(int jobID, @Positive Integer timeout) Get the state of a job.SpallocClient.getJobState
(int jobID, Integer timeout) SpallocJob.getMachineName()
SpallocJobAPI.getMachineName()
SpallocJob.getPower()
SpallocJobAPI.getPower()
SpallocJob.getState()
SpallocJobAPI.getState()
default TransceiverInterface
SpallocJobAPI.getTransceiver()
Construct a transceiver for talking to this job.default void
SpallocAPI.jobKeepAlive
(int jobID) Keep a job alive.void
SpallocAPI.jobKeepAlive
(int jobID, @Positive Integer timeout) Keep a job alive.void
SpallocClient.jobKeepAlive
(int jobID, Integer timeout) default List<JobDescription>
SpallocAPI.listJobs()
List all jobs.List all jobs.SpallocAPI.listMachines()
List all known machines.SpallocAPI.listMachines
(@Positive Integer timeout) List all known machines.SpallocClient.listMachines
(Integer timeout) default void
Enable or disable notifications of changes in job state.void
Enable or disable notifications of changes in job state.void
default void
SpallocAPI.notifyMachine
(String machineName, boolean enable) Enable or disable notifications of changes in machine state.void
SpallocAPI.notifyMachine
(String machineName, boolean enable, @Positive Integer timeout) Enable or disable notifications of changes in machine state.void
SpallocClient.notifyMachine
(String machineName, boolean enable, Integer timeout) default void
SpallocAPI.powerOffJobBoards
(int jobID) Turn off a job's allocated boards.void
SpallocAPI.powerOffJobBoards
(int jobID, @Positive Integer timeout) Turn off a job's allocated boards.void
SpallocClient.powerOffJobBoards
(int jobID, Integer timeout) default void
SpallocAPI.powerOnJobBoards
(int jobID) Turn on a job's allocated boards.void
SpallocAPI.powerOnJobBoards
(int jobID, @Positive Integer timeout) Turn on a job's allocated boards.void
SpallocClient.powerOnJobBoards
(int jobID, Integer timeout) default void
SpallocJobAPI.reset()
Reset (power-cycle) the boards allocated to the job.void
void
Turn the boards allocated to the job on or off.default Version
SpallocAPI.version()
Request the version of the spalloc server.Request the version of the spalloc server.SpallocJob.waitForStateChange
(State oldState, Integer timeout) default State
SpallocJobAPI.waitForStateChange
(State oldState) Block until the job's state changes from the supplied state.SpallocJobAPI.waitForStateChange
(State oldState, Integer timeout) Block until the job's state changes from the supplied state.void
SpallocJob.waitUntilReady
(Integer timeout) void
SpallocJobAPI.waitUntilReady
(Integer timeout) Block until the job is allocated and ready.default WhereIs
SpallocAPI.whereIs
(int jobID, @Valid HasChipLocation chip) Locate a chip within a job's allocation.SpallocAPI.whereIs
(int jobID, @Valid HasChipLocation chip, @Positive Integer timeout) Locate a chip within a job's allocation.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid PhysicalCoords coords) Locate a board within a machine.SpallocAPI.whereIs
(@NotBlank String machine, @Valid PhysicalCoords coords, @Positive Integer timeout) Locate a board within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid TriadCoords coords) Locate a board within a machine.SpallocAPI.whereIs
(@NotBlank String machine, @Valid TriadCoords coords, @Positive Integer timeout) Locate a board within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid HasChipLocation chip) Locate a chip within a machine.SpallocAPI.whereIs
(@NotBlank String machine, @Valid HasChipLocation chip, @Positive Integer timeout) Locate a chip within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid BoardCoordinates coords) Locate a board within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid BoardCoordinates coords, @Positive Integer timeout) Locate a board within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid BoardPhysicalCoordinates coords) Locate a board within a machine.default WhereIs
SpallocAPI.whereIs
(@NotBlank String machine, @Valid BoardPhysicalCoordinates coords, @Positive Integer timeout) Locate a board within a machine.SpallocClient.whereIs
(int jobID, HasChipLocation chip, Integer timeout) SpallocClient.whereIs
(String machine, PhysicalCoords coords, Integer timeout) SpallocClient.whereIs
(String machine, TriadCoords coords, Integer timeout) SpallocClient.whereIs
(String machine, HasChipLocation chip, Integer timeout) SpallocJob.whereIs
(HasChipLocation chip) SpallocJobAPI.whereIs
(HasChipLocation chip) Locates and returns the physical coordinates containing a given chip in a machine allocated to this job.Constructors in uk.ac.manchester.spinnaker.spalloc that throw SpallocServerExceptionModifierConstructorDescriptionSpallocJob
(int id) Create a job client that resumes an existing job given its ID.SpallocJob
(String hostname, int id) Create a job client that resumes an existing job given its ID.SpallocJob
(String hostname, int port, Integer timeout, int id) Create a job client that resumes an existing job given its ID.SpallocJob
(String hostname, Integer timeout, int id) Create a job client that resumes an existing job given its ID.SpallocJob
(String hostname, Integer port, Integer timeout, CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.SpallocJob
(String hostname, Integer timeout, CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.SpallocJob
(String hostname, CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.SpallocJob
(CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.SpallocJob
(SpallocClient client, Integer timeout, CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.SpallocJob
(SpallocClient client, CreateJob builder) Create a spalloc job that requests a SpiNNaker machine.
SpallocAPI.createJob(CreateJob)
instead.