Uses of Class
uk.ac.manchester.spinnaker.spalloc.exceptions.SpallocServerException
Package | Description |
---|---|
uk.ac.manchester.spinnaker.spalloc |
SpiNNaker old-style machine allocation client.
|
-
Uses of SpallocServerException in uk.ac.manchester.spinnaker.spalloc
Methods in uk.ac.manchester.spinnaker.spalloc that throw SpallocServerException Modifier and Type Method Description protected void
SpallocJob. assertCompatibleVersion()
Assert that the server version is compatible.protected String
SpallocConnection. call(Command<?> command, Integer timeout)
Send a command to the server and return the reply.default int
SpallocAPI. createJob(@Valid CreateJob builder)
Create a job.int
SpallocAPI. createJob(@Valid CreateJob builder, @Positive Integer timeout)
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.Consider usingSpallocAPI.createJob(CreateJob)
instead.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
SpallocClient. createJob(List<Integer> args, Map<String,Object> kwargs, Integer timeout)
Deprecated, for removal: This API element is subject to removal in a future version.int
SpallocClient. createJob(CreateJob builder, Integer timeout)
void
SpallocJob. destroy(String reason)
default void
SpallocJobAPI. destroy()
Destroy the job and disconnect from the server.void
SpallocJobAPI. destroy(String reason)
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.BoardCoordinates
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.BoardPhysicalCoordinates
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.BoardCoordinates
SpallocClient. getBoardPosition(String machineName, PhysicalCoords coords, Integer timeout)
BoardPhysicalCoordinates
SpallocClient. getBoardPosition(String machineName, TriadCoords coords, Integer timeout)
List<BoardCoordinates>
SpallocJob. getBoards()
List<BoardCoordinates>
SpallocJobAPI. getBoards()
List<Connection>
SpallocJob. getConnections()
List<Connection>
SpallocJobAPI. getConnections()
String
SpallocJob. getDestroyReason()
String
SpallocJobAPI. getDestroyReason()
MachineDimensions
SpallocJob. getDimensions()
MachineDimensions
SpallocJobAPI. getDimensions()
String
SpallocJob. getHostname()
String
SpallocJobAPI. getHostname()
default JobMachineInfo
SpallocAPI. getJobMachineInfo(int jobID)
Get information about a job's allocated machine.JobMachineInfo
SpallocAPI. getJobMachineInfo(int jobID, @Positive Integer timeout)
Get information about a job's allocated machine.JobMachineInfo
SpallocClient. getJobMachineInfo(int jobID, Integer timeout)
default JobState
SpallocAPI. getJobState(int jobID)
Get the state of a job.JobState
SpallocAPI. getJobState(int jobID, @Positive Integer timeout)
Get the state of a job.JobState
SpallocClient. getJobState(int jobID, Integer timeout)
String
SpallocJob. getMachineName()
String
SpallocJobAPI. getMachineName()
Boolean
SpallocJob. getPower()
Boolean
SpallocJobAPI. getPower()
State
SpallocJob. getState()
State
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<JobDescription>
SpallocAPI. listJobs(@Positive Integer timeout)
List all jobs.List<JobDescription>
SpallocClient. listJobs(Integer timeout)
default List<Machine>
SpallocAPI. listMachines()
List all known machines.List<Machine>
SpallocAPI. listMachines(@Positive Integer timeout)
List all known machines.List<Machine>
SpallocClient. listMachines(Integer timeout)
default void
SpallocAPI. notifyJob(Integer jobID, boolean enable)
Enable or disable notifications of changes in job state.void
SpallocAPI. notifyJob(Integer jobID, boolean enable, @Positive Integer timeout)
Enable or disable notifications of changes in job state.void
SpallocClient. notifyJob(Integer jobID, boolean enable, Integer timeout)
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
SpallocJob. setPower(Boolean powerOn)
void
SpallocJobAPI. setPower(Boolean powerOn)
Turn the boards allocated to the job on or off.default Version
SpallocAPI. version()
Request the version of the spalloc server.Version
SpallocAPI. version(@Positive Integer timeout)
Request the version of the spalloc server.Version
SpallocClient. version(Integer timeout)
State
SpallocJob. waitForStateChange(State oldState, Integer timeout)
default State
SpallocJobAPI. waitForStateChange(State oldState)
Block until the job's state changes from the supplied state.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.WhereIs
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.WhereIs
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.WhereIs
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.WhereIs
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.WhereIs
SpallocClient. whereIs(int jobID, HasChipLocation chip, Integer timeout)
WhereIs
SpallocClient. whereIs(String machine, PhysicalCoords coords, Integer timeout)
WhereIs
SpallocClient. whereIs(String machine, TriadCoords coords, Integer timeout)
WhereIs
SpallocClient. whereIs(String machine, HasChipLocation chip, Integer timeout)
BoardPhysicalCoordinates
SpallocJob. whereIs(HasChipLocation chip)
BoardPhysicalCoordinates
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 SpallocServerException Constructor Description SpallocJob(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.