Record Class ResilienceFindings.PairSummary
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.resilience.ResilienceFindings.PairSummary
- Record Components:
total- distinct pairs of single-element failuresevaluated- pairs simulatedexhaustive-truewhen every pair was simulatedworst- the worst pairs, worst first (at most ten)
- Enclosing class:
ResilienceFindings
public static record ResilienceFindings.PairSummary(int total, int evaluated, boolean exhaustive, List<ResilienceFindings.RankedScenario> worst)
extends Record
What the pairwise (N-2) simulation covered.
-
Constructor Summary
ConstructorsConstructorDescriptionPairSummary(int total, int evaluated, boolean exhaustive, List<ResilienceFindings.RankedScenario> worst) Makes the list immutable. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theevaluatedrecord component.booleanReturns the value of theexhaustiverecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.worst()Returns the value of theworstrecord component.
-
Constructor Details
-
PairSummary
public PairSummary(int total, int evaluated, boolean exhaustive, List<ResilienceFindings.RankedScenario> worst) Makes the list immutable.
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
total
-
evaluated
-
exhaustive
public boolean exhaustive()Returns the value of theexhaustiverecord component.- Returns:
- the value of the
exhaustiverecord component
-
worst
-