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 Details

    • Configuration

      public Configuration()
  • Method Details

    • getMachines

      public List<MachineDefinitionLoader.Machine> getMachines()
      Returns:
      The machines to manage.
    • getPort

      public int getPort()
      Returns:
      The port for the service to listen on. (Ignored)
    • getIp

      public String 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

      public String toString()
      Overrides:
      toString in class Object