Enum Class ScenarioKind
- All Implemented Interfaces:
Serializable, Comparable<ScenarioKind>, Constable
What a
FailureScenario takes away.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNothing: the design as built.One cloud on-ramp (a provider's presence) in one metro.A cloud provider region (every on-ramp of the clouds in it becomes useless).One Cloud Router.One connection: a cloud connection, a site access circuit or a backbone link.An entire Equinix region (AMER, EMEA or APAC).A whole metro: its facilities, Cloud Router and on-ramps.Two single-element failures at once (N-2). -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ScenarioKindReturns the enum constant of this class with the specified name.static ScenarioKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASELINE
Nothing: the design as built. -
METRO
A whole metro: its facilities, Cloud Router and on-ramps. -
CLOUD_ONRAMP
One cloud on-ramp (a provider's presence) in one metro. -
CONNECTION
One connection: a cloud connection, a site access circuit or a backbone link. -
CLOUD_ROUTER
One Cloud Router. -
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
An entire Equinix region (AMER, EMEA or APAC). Shared fate: not counted in N-1. -
PAIR
Two single-element failures at once (N-2).
-
-
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
-
isSingleElement
public boolean isSingleElement()- Returns:
truefor the single-element failures that make up the N-1 set
-