Class Configuration
java.lang.Object
uk.ac.manchester.spinnaker.py2json.Configuration
public final class Configuration extends Object
A configuration description. JSON-serializable.
-
Field Summary
Fields Modifier and Type Field Description @IPAddress(emptyOK=true) String
ip
The host address for the service to listen on.@NotEmpty(message="there must be at least one machine described") List<@Valid Machine>
machines
The machines to manage.@javax.validation.constraints.PositiveOrZero int
maxRetiredJobs
How many retired jobs to retain.@uk.ac.manchester.spinnaker.utils.validation.TCPPort int
port
The port for the service to listen on.@javax.validation.constraints.PositiveOrZero int
secondsBeforeFree
Time to wait before freeing.@javax.validation.constraints.Positive double
timeoutCheckInterval
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
How often (in seconds) to check for timeouts. -
maxRetiredJobs
How many retired jobs to retain. -
secondsBeforeFree
Time to wait before freeing.
-
-
Method Details