Class MachineDefinitionLoader.Configuration
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.MachineDefinitionLoader.Configuration
- Enclosing class:
- MachineDefinitionLoader
public static final class MachineDefinitionLoader.Configuration extends Object
A configuration description. JSON-deserializable (the only supported
mechanism for generating an instance). Largely ignored as it represents
configuration settings that we handle elsewhere. However, the
machines
property is interesting.- Author:
- Donal Fellows
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
Modifier and Type Method Description String
getIp()
List<MachineDefinitionLoader.Machine>
getMachines()
int
getMaxRetiredJobs()
int
getPort()
int
getSecondsBeforeFree()
double
getTimeoutCheckInterval()
String
toString()
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
getMachines
- Returns:
- The machines to manage.
-
getPort
public int getPort()- Returns:
- The port for the service to listen on. (Ignored)
-
getIp
- Returns:
- The host address for the service to listen on. Empty = all interfaces. (Ignored)
-
getTimeoutCheckInterval
public double getTimeoutCheckInterval()- Returns:
- How often (in seconds) to check for timeouts. (Ignored)
-
getMaxRetiredJobs
public int getMaxRetiredJobs()- Returns:
- How many retired jobs to retain. (Ignored)
-
getSecondsBeforeFree
public int getSecondsBeforeFree()- Returns:
- Time to wait before freeing. (Ignored)
-
toString
-