Enum Class RedundancyTier

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

public enum RedundancyTier extends Enum<RedundancyTier>
The least redundancy a design accepts. Each tier is an explicit, checkable rule on the SET of metros a design uses (enforced by the minimum_redundancy constraint); no tier steers selection any other way, and none silently forces a cross-region spread.
  • NONE: one metro is enough.
  • N_PLUS_1: at least two metros, at least two of them in the same region (a nearby standby that fails over without crossing a region).
  • MULTI_METRO: at least two metros, in any regions.
  • MULTI_REGION: at least two metros in at least two different regions.
  • Enum Constant Details

    • NONE

      public static final RedundancyTier NONE
      No redundancy requirement: a single metro satisfies the tier.
    • N_PLUS_1

      public static final RedundancyTier N_PLUS_1
      At least two metros, at least two of which share a region.
    • MULTI_METRO

      public static final RedundancyTier MULTI_METRO
      At least two metros in any regions.
    • MULTI_REGION

      public static final RedundancyTier MULTI_REGION
      At least two metros spanning at least two regions.
  • Method Details

    • values

      public static RedundancyTier[] 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 RedundancyTier 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