Enum Class WorkloadStatus

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

public enum WorkloadStatus extends Enum<WorkloadStatus>
How one workload fares in a scenario.
  • Enum Constant Details

    • FULL

      public static final WorkloadStatus FULL
      Every site that should reach it does, within its limits, and every cloud it needs is reachable at full capacity.
    • DEGRADED

      public static final WorkloadStatus DEGRADED
      It still runs, but some sites, clouds, capacity or a latency limit are lost.
    • DOWN

      public static final WorkloadStatus 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

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