Record Class DesignDecisionRecord.Provenance

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Provenance
Record Components:
assumptions - every assumption an engine reported, de-duplicated
dataNotes - how complete the catalogue reads were
measuredLatencies - site-to-metro round trips of the recommendation that Fabric measured
estimatedLatencies - site-to-metro round trips that were estimated (distance with the route factor, or the intra-metro assumption)
unknownLatencies - site-to-metro round trips that are unknown
catalogueAsOf - when the catalogue facts were gathered, or null
asOf - the as-of dates of reference data and rates, one line each
latencyCalibration - the route factor used for estimates and what it was fitted from, or null
Enclosing class:
DesignDecisionRecord

public static record DesignDecisionRecord.Provenance(List<DesignDecisionRecord.Assumption> assumptions, List<String> dataNotes, int measuredLatencies, int estimatedLatencies, int unknownLatencies, Instant catalogueAsOf, List<String> asOf, String latencyCalibration) extends Record
What the record rests on.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • assumptions

      public List<DesignDecisionRecord.Assumption> assumptions()
      Returns the value of the assumptions record component.
      Returns:
      the value of the assumptions record component
    • dataNotes

      public List<String> dataNotes()
      Returns the value of the dataNotes record component.
      Returns:
      the value of the dataNotes record component
    • measuredLatencies

      public int measuredLatencies()
      Returns the value of the measuredLatencies record component.
      Returns:
      the value of the measuredLatencies record component
    • estimatedLatencies

      public int estimatedLatencies()
      Returns the value of the estimatedLatencies record component.
      Returns:
      the value of the estimatedLatencies record component
    • unknownLatencies

      public int unknownLatencies()
      Returns the value of the unknownLatencies record component.
      Returns:
      the value of the unknownLatencies record component
    • catalogueAsOf

      public Instant catalogueAsOf()
      Returns the value of the catalogueAsOf record component.
      Returns:
      the value of the catalogueAsOf record component
    • asOf

      public List<String> asOf()
      Returns the value of the asOf record component.
      Returns:
      the value of the asOf record component
    • latencyCalibration

      public String latencyCalibration()
      Returns the value of the latencyCalibration record component.
      Returns:
      the value of the latencyCalibration record component