Class Configuration
java.lang.Object
uk.ac.manchester.spinnaker.py2json.Configuration
A configuration description. JSON-serializable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @IPAddress(emptyOK=true) String
The host address for the service to listen on.The machines to manage.final @jakarta.validation.constraints.PositiveOrZero int
How many retired jobs to retain.final @uk.ac.manchester.spinnaker.utils.validation.TCPPort int
The port for the service to listen on.final @jakarta.validation.constraints.PositiveOrZero int
Time to wait before freeing.final @jakarta.validation.constraints.Positive double
How often (in seconds) to check for timeouts. -
Method Summary
-
Field Details
-
machines
@NotEmpty(message="there must be at least one machine described") public final @NotEmpty(message="there must be at least one machine described") List<@Valid Machine> machinesThe machines to manage. -
port
The port for the service to listen on. -
ip
The host address for the service to listen on. Empty = all interfaces. -
timeoutCheckInterval
@Positive public final @jakarta.validation.constraints.Positive double timeoutCheckIntervalHow often (in seconds) to check for timeouts. -
maxRetiredJobs
@PositiveOrZero public final @jakarta.validation.constraints.PositiveOrZero int maxRetiredJobsHow many retired jobs to retain. -
secondsBeforeFree
@PositiveOrZero public final @jakarta.validation.constraints.PositiveOrZero int secondsBeforeFreeTime to wait before freeing.
-
-
Method Details