Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.StateControlProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.StateControlProperties
- Enclosing class:
- SpallocProperties
public static class SpallocProperties.StateControlProperties extends Object
Settings for control of the administrative state of a machine.
-
Constructor Summary
Constructors Constructor Description StateControlProperties(Duration blacklistPoll, Duration blacklistTimeout, int serialReadBatchSize, int blacklistReadBatchSize)
-
Method Summary
Modifier and Type Method Description @NotNull Duration
getBlacklistPoll()
@javax.validation.constraints.Positive int
getBlacklistReadBatchSize()
@NotNull Duration
getBlacklistTimeout()
@javax.validation.constraints.Positive int
getSerialReadBatchSize()
-
Constructor Details
-
StateControlProperties
public StateControlProperties(@DefaultValue("15s") Duration blacklistPoll, @DefaultValue("60s") Duration blacklistTimeout, @DefaultValue("24") int serialReadBatchSize, @DefaultValue("6") int blacklistReadBatchSize)- Parameters:
blacklistPoll
- How long to wait between polls of the BMP controller.blacklistTimeout
- How long to wait for a blacklist operation to complete.serialReadBatchSize
- How many board serial numbers to read from a full machine at once when synchronizing the overall state?blacklistReadBatchSize
- How many blacklists to read from a full machine at once when synchronizing the overall state?
-
-
Method Details
-
getBlacklistPoll
- Returns:
- How long to wait between polls of the BMP controller.
-
getBlacklistTimeout
- Returns:
- How long to wait for a blacklist operation to complete.
-
getSerialReadBatchSize
- Returns:
- How many board serial numbers to read from a full machine at once when synchronizing the overall state?
-
getBlacklistReadBatchSize
- Returns:
- How many blacklists to read from a full machine at once when synchronizing the overall state?
-