Enum Class LatencySensitivity
- All Implemented Interfaces:
Serializable, Comparable<LatencySensitivity>, Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LatencySensitivityReturns the enum constant of this class with the specified name.static LatencySensitivity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Sub-15 ms default placement ceiling. -
MEDIUM
Sub-50 ms default placement ceiling; the fallback tier when a workload states none. -
LOW
200 ms default placement ceiling — effectively unconstrained for most topologies.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-