Class Configuration
java.lang.Object
uk.ac.manchester.spinnaker.py2json.Configuration
A configuration description. JSON-serializable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @IPAddress(emptyOK=true) StringThe host address for the service to listen on.The machines to manage.final @javax.validation.constraints.PositiveOrZero intHow many retired jobs to retain.final @uk.ac.manchester.spinnaker.utils.validation.TCPPort intThe port for the service to listen on.final @javax.validation.constraints.PositiveOrZero intTime to wait before freeing.final @javax.validation.constraints.Positive doubleHow 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