Class SpallocProperties.AllocatorProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.AllocatorProperties
- Enclosing class:
SpallocProperties
Configuration of the main resource allocation engine.
- Author:
- Donal Fellows
-
Constructor Summary
ConstructorsConstructorDescriptionAllocatorProperties(Duration period, int importanceSpan, SpallocProperties.PriorityScale priorityScale, int reportActionThreshold, String systemReportUser, String emergencyStopCommandCode) -
Method Summary
-
Constructor Details
-
AllocatorProperties
@ConstructorBinding public AllocatorProperties(@DefaultValue("5s") Duration period, @DefaultValue("10000") int importanceSpan, @DefaultValue SpallocProperties.PriorityScale priorityScale, @DefaultValue("2") int reportActionThreshold, @DefaultValue("") String systemReportUser, @DefaultValue String emergencyStopCommandCode) - Parameters:
period- Time between runs of the main allocation algorithm.importanceSpan- Maximum span of job importance that will be allocated at once. Priority is the rate at which importance is accrued.priorityScale- Properties relating to job priority scaling.reportActionThreshold- Number of reports of board problems at which the board is taken out of service.systemReportUser- Name of user that system-generated reports are done by.emergencyStopCommandCode- Command code to accept for an emergency stop.
-
-
Method Details
-
getPeriod
-
getImportanceSpan
-
getPriorityScale
Properties relating to job priority scaling.- Returns:
- Properties relating to job priority scaling.
-
getReportActionThreshold
-
getSystemReportUser
-
getEmergencyStopCommandCode
-