Enum Class LatencySensitivity
- All Implemented Interfaces:
Serializable, Comparable<LatencySensitivity>, Constable
Latency sensitivity tiers for workloads, each with a typical round-trip ceiling
(
thresholdMs).
The tier is descriptive: the Metro Optimizer does not turn it into a limit. Only an explicit
WorkloadIntent.maxLatencyMs constrains where a workload may run (the
workload_max_latency constraint), so a design is never rejected for a ceiling the caller
did not state. Use thresholdMs as a starting point when choosing that explicit value.
- 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
-