Enum Class WorkloadStatus
- All Implemented Interfaces:
Serializable, Comparable<WorkloadStatus>, Constable
How one workload fares in a scenario.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIt still runs, but some sites, clouds, capacity or a latency limit are lost.Nothing of it is served: no surviving host, or none of the clouds it needs is reachable (for a workload that needs no cloud: no site reaches it).Every site that should reach it does, within its limits, and every cloud it needs is reachable at full capacity. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkloadStatusReturns the enum constant of this class with the specified name.static WorkloadStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
Every site that should reach it does, within its limits, and every cloud it needs is reachable at full capacity. -
DEGRADED
It still runs, but some sites, clouds, capacity or a latency limit are lost. -
DOWN
Nothing of it is served: no surviving host, or none of the clouds it needs is reachable (for a workload that needs no cloud: no site reaches it).
-
-
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
-