Record Class DesignDecisionRecord.Resilience
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Resilience
- Record Components:
portfolio- the portfolio analysedn1- the N-1 verdict (single-element failures)n2- the N-2 verdict (pairs of failures)singlePoints- single elements whose loss causes an outage- redundant elements sharing a failure domainavailability- estimated availability per workloadavailabilityBasis- the source of the per-element figures: planning assumptions, not SLAselementAvailability- the per-element-type availability usedremediations- concrete changes, with whether each was re-simulatedmermaid- the design graph as a Mermaid flowchartnotes- caveats
- Enclosing class:
DesignDecisionRecord
public static record DesignDecisionRecord.Resilience(String portfolio, DesignDecisionRecord.Verdict n1, DesignDecisionRecord.Verdict n2, List<String> singlePoints, List<String> correlatedRisks, List<DesignDecisionRecord.Availability> availability, String availabilityBasis, Map<String,Double> elementAvailability, List<String> remediations, String mermaid, List<String> notes)
extends Record
The failure simulation of the recommended design.
-
Constructor Summary
ConstructorsConstructorDescriptionResilience(String portfolio, DesignDecisionRecord.Verdict n1, DesignDecisionRecord.Verdict n2, List<String> singlePoints, List<String> correlatedRisks, List<DesignDecisionRecord.Availability> availability, String availabilityBasis, Map<String, Double> elementAvailability, List<String> remediations, String mermaid, List<String> notes) Copies the collections. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailabilityrecord component.Returns the value of theavailabilityBasisrecord component.Returns the value of thecorrelatedRisksrecord component.Returns the value of theelementAvailabilityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mermaid()Returns the value of themermaidrecord component.n1()Returns the value of then1record component.n2()Returns the value of then2record component.notes()Returns the value of thenotesrecord component.Returns the value of theportfoliorecord component.Returns the value of theremediationsrecord component.Returns the value of thesinglePointsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Resilience
public Resilience(String portfolio, DesignDecisionRecord.Verdict n1, DesignDecisionRecord.Verdict n2, List<String> singlePoints, List<String> correlatedRisks, List<DesignDecisionRecord.Availability> availability, String availabilityBasis, Map<String, Double> elementAvailability, List<String> remediations, String mermaid, List<String> notes) Copies the collections.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
portfolio
-
n1
-
n2
-
singlePoints
Returns the value of thesinglePointsrecord component.- Returns:
- the value of the
singlePointsrecord component
-
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
availabilityBasis
Returns the value of theavailabilityBasisrecord component.- Returns:
- the value of the
availabilityBasisrecord component
-
elementAvailability
Returns the value of theelementAvailabilityrecord component.- Returns:
- the value of the
elementAvailabilityrecord component
-
remediations
Returns the value of theremediationsrecord component.- Returns:
- the value of the
remediationsrecord component
-
mermaid
-
notes
-