Enum Class RedundancyTier
- All Implemented Interfaces:
Serializable, Comparable<RedundancyTier>, Constable
Redundancy requirements for metro placement. Higher tiers provide greater
geographic diversity and fault isolation at increased cost.
minimumMetros is the tier's floor, not the recommendation size: when no
explicit maxMetros constraint is set, the engine recommends up to
max(3, minimumMetros + 1) metros regardless of tier — so an intentionally single-metro
deployment needs maxMetros(1) in addition to (or instead of) NONE. The
MULTI_METRO and MULTI_REGION tiers additionally switch selection to
region-diversity-aware round-robin (best metro per region), so geographic spread is a hard
outcome rather than a scoring nudge; a selected set that still falls short of the tier raises a
REDUNDANCY_GAP risk finding.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt least two metros with region-diversity-aware selection across regions.At least three metros spanning multiple regions, selected region-diversity-aware.At least two metros; the same region is acceptable (component-level, not geographic, redundancy).No redundancy requirement: a single metro satisfies the tier. -
Method Summary
Modifier and TypeMethodDescriptionstatic RedundancyTierReturns the enum constant of this class with the specified name.static RedundancyTier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No redundancy requirement: a single metro satisfies the tier. -
N_PLUS_1
At least two metros; the same region is acceptable (component-level, not geographic, redundancy). -
MULTI_METRO
At least two metros with region-diversity-aware selection across regions. -
MULTI_REGION
At least three metros spanning multiple regions, selected region-diversity-aware.
-
-
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
-