Enum Class ScenarioKind

java.lang.Object
java.lang.Enum<ScenarioKind>
com.eqixiac.equinix.design.resilience.ScenarioKind
All Implemented Interfaces:
Serializable, Comparable<ScenarioKind>, Constable

public enum ScenarioKind extends Enum<ScenarioKind>
What a FailureScenario takes away.
  • Enum Constant Details

    • BASELINE

      public static final ScenarioKind BASELINE
      Nothing: the design as built.
    • METRO

      public static final ScenarioKind METRO
      A whole metro: its facilities, Cloud Router and on-ramps.
    • CLOUD_ONRAMP

      public static final ScenarioKind CLOUD_ONRAMP
      One cloud on-ramp (a provider's presence) in one metro.
    • CONNECTION

      public static final ScenarioKind CONNECTION
      One connection: a cloud connection, a site access circuit or a backbone link.
    • CLOUD_ROUTER

      public static final ScenarioKind CLOUD_ROUTER
      One Cloud Router.
    • CLOUD_REGION

      public static final ScenarioKind CLOUD_REGION
      A cloud provider region (every on-ramp of the clouds in it becomes useless). Shared fate: not counted in N-1.
    • EQUINIX_REGION

      public static final ScenarioKind EQUINIX_REGION
      An entire Equinix region (AMER, EMEA or APAC). Shared fate: not counted in N-1.
    • PAIR

      public static final ScenarioKind PAIR
      Two single-element failures at once (N-2).
  • Method Details

    • values

      public static ScenarioKind[] 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 ScenarioKind 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
    • isSingleElement

      public boolean isSingleElement()
      Returns:
      true for the single-element failures that make up the N-1 set