Class SavingsEstimate

java.lang.Object
com.eqixiac.equinix.design.value.savings.SavingsEstimate

public class SavingsEstimate extends Object
The result of a SavingsCalculator run: the modelled monthly cost of egressing data over the public internet versus over an Equinix-provided private interconnect, the Equinix interconnect cost, and the resulting net savings and break-even points.

All amounts are in getCurrency(). The *Priced flags indicate which inputs the rate card could actually resolve; when a flag is false the corresponding figures are either zero or explicitly partial - the getDisclaimer() text names the exact component that could not be priced (or was excluded for being in another currency) - and the estimate should be read as incomplete (see isComplete()).

When the calculator was given a peer cloud, getMulticloudComparison() carries the cloud-to-cloud section (three paths, both directions, and the break-even sustained rate). The fields above it are unaffected by the peer cloud: they describe the getProvider() direction only and are computed exactly as for a single-cloud estimate, and isComplete() does not consider the cloud-to-cloud section.

  • Constructor Details

    • SavingsEstimate

      public SavingsEstimate()
  • Method Details

    • breakEvenSustainedMbps

      public Optional<BigDecimal> breakEvenSustainedMbps()
      The sustained rate (Mbps, both directions summed, traffic split evenly) at which the flat-fee native multicloud link and the per-GB Equinix path cost the same per month. Formula, units and the conditions under which it is empty are documented on MulticloudPathComparison.breakEvenSustainedMbps(...).
      Returns:
      the break-even rate; empty when no peer cloud was declared, any input is unpriced, the currencies differ, or no break-even exists
    • toMarkdown

      public String toMarkdown()
      Renders a human-readable Markdown summary of the savings analysis, suitable for a report or a console dump. A cloud-to-cloud estimate adds a section with one row per path, the break-even sustained rate, and each figure's provenance.
      Returns:
      a Markdown report