Record Class WeatherLimits
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherLimits
- All Implemented Interfaces:
Serializable
public record WeatherLimits(int maxSources, int maxSelectedPaths, int maxCandidates, int maxProbePolicies, int maxHostChoices, int maxConfigurationBytes)
extends Record
implements Serializable
Deployment limits are owned by the Master and included in administrator snapshots.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWeatherLimits(int maxSources, int maxSelectedPaths, int maxCandidates, int maxProbePolicies, int maxHostChoices, int maxConfigurationBytes) Creates an instance of aWeatherLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic WeatherLimitsstatic intfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxCandidatesrecord component.intReturns the value of themaxConfigurationBytesrecord component.intReturns the value of themaxHostChoicesrecord component.intReturns the value of themaxProbePoliciesrecord component.intReturns the value of themaxSelectedPathsrecord component.intReturns the value of themaxSourcesrecord component.final StringtoString()Returns a string representation of this record class.voidvoid
-
Constructor Details
-
WeatherLimits
public WeatherLimits(int maxSources, int maxSelectedPaths, int maxCandidates, int maxProbePolicies, int maxHostChoices, int maxConfigurationBytes) Creates an instance of aWeatherLimitsrecord class.- Parameters:
maxSources- the value for themaxSourcesrecord componentmaxSelectedPaths- the value for themaxSelectedPathsrecord componentmaxCandidates- the value for themaxCandidatesrecord componentmaxProbePolicies- the value for themaxProbePoliciesrecord componentmaxHostChoices- the value for themaxHostChoicesrecord componentmaxConfigurationBytes- the value for themaxConfigurationBytesrecord component
-
-
Method Details
-
configured
-
controlResponseBytes
public static int controlResponseBytes() -
validateSelection
-
validatePolicy
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
maxSources
public int maxSources()Returns the value of themaxSourcesrecord component.- Returns:
- the value of the
maxSourcesrecord component
-
maxSelectedPaths
public int maxSelectedPaths()Returns the value of themaxSelectedPathsrecord component.- Returns:
- the value of the
maxSelectedPathsrecord component
-
maxCandidates
public int maxCandidates()Returns the value of themaxCandidatesrecord component.- Returns:
- the value of the
maxCandidatesrecord component
-
maxProbePolicies
public int maxProbePolicies()Returns the value of themaxProbePoliciesrecord component.- Returns:
- the value of the
maxProbePoliciesrecord component
-
maxHostChoices
public int maxHostChoices()Returns the value of themaxHostChoicesrecord component.- Returns:
- the value of the
maxHostChoicesrecord component
-
maxConfigurationBytes
public int maxConfigurationBytes()Returns the value of themaxConfigurationBytesrecord component.- Returns:
- the value of the
maxConfigurationBytesrecord component
-