Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.KeepaliveProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.KeepaliveProperties
- Enclosing class:
- SpallocProperties
public static class SpallocProperties.KeepaliveProperties extends Object
How to handle keepalive messages.
-
Constructor Summary
Constructors Constructor Description KeepaliveProperties(Duration expiryPeriod, Duration min, Duration max)
-
Method Summary
-
Constructor Details
-
KeepaliveProperties
public KeepaliveProperties(@DefaultValue("30s") Duration expiryPeriod, @DefaultValue("30s") Duration min, @DefaultValue("300s") Duration max)- Parameters:
expiryPeriod
- Time between runs of the keepalive-expiry algorithm.min
- Minimum keepalive period.max
- Maximum keepalive period.
-
-
Method Details
-
getExpiryPeriod
Time between runs of the keepalive-expiry algorithm.- Returns:
- Time between runs of the keepalive-expiry algorithm.
-
getMin
- Returns:
- Minimum keepalive period.
-
getMax
- Returns:
- Maximum keepalive period.
-