Enum Class LatencySensitivity

java.lang.Object
java.lang.Enum<LatencySensitivity>
com.eqixiac.equinix.design.optimizer.enums.LatencySensitivity
All Implemented Interfaces:
Serializable, Comparable<LatencySensitivity>, Constable

public enum LatencySensitivity extends Enum<LatencySensitivity>
Defines latency sensitivity tiers for workload placement decisions.

Each tier carries thresholdMs, the default per-workload latency ceiling the optimizer engine (MetroOptimizerEngine) applies during workload placement. A workload's effective ceiling is its explicit WorkloadProfile.maxLatencyToleranceMs when set; otherwise it is this tier's thresholdMs — so a CRITICAL or HIGH workload is placed under a tighter default ceiling than a LOW one, measured as the worst-case estimated latency from the metro to any user site.

Exactly what the ceiling does, per kind:

  • An explicit ceiling always narrows which recommended metros the workload may be placed in, is stated on the placement rationale, and raises risk findings when it cannot be evaluated or honoured.
  • The tier's implied ceiling narrows placement the same way, and the placement rationale names the tier whenever the ceiling actually ruled metros out or could not be honoured; when it binds nothing (or there are no sites to measure from) it is silent and raises no findings, because the caller never stated it.

Separately, CRITICAL (and any profile flagged proximity-weighted) routes the workload through the lowest-weighted-latency placement rule rather than the highest-scored-metro rule. The tiers do not scale the latency scoring curve — that is driven by the thresholds on ScoringWeights.

See Also:
  • Enum Constant Details

    • CRITICAL

      public static final LatencySensitivity CRITICAL
      Sub-5 ms default placement ceiling. Additionally routes the workload through the lowest-weighted-latency placement rule instead of the highest-scored-metro rule.
    • HIGH

      public static final LatencySensitivity HIGH
      Sub-15 ms default placement ceiling.
    • MEDIUM

      public static final LatencySensitivity MEDIUM
      Sub-50 ms default placement ceiling; the fallback tier when a workload states none.
    • LOW

      public static final LatencySensitivity LOW
      200 ms default placement ceiling — effectively unconstrained for most topologies.
  • Method Details

    • values

      public static LatencySensitivity[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LatencySensitivity valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null