Enum Class SystemLoadState

java.lang.Object
java.lang.Enum<SystemLoadState>
com._1c.g5.resourcemanagement.SystemLoadState
All Implemented Interfaces:
Serializable, Comparable<SystemLoadState>, Constable

public enum SystemLoadState extends Enum<SystemLoadState>
Resource load state of the system
  • Enum Constant Details

    • NORMAL

      public static final SystemLoadState NORMAL
      Normal level of the load
    • OVERLOAD

      public static final SystemLoadState OVERLOAD
      The system is overloaded, need to reduce resource-consuming operations
    • CRITICAL

      public static final SystemLoadState CRITICAL
      The critical oveload of the system. Need to perform emergency stop of all resource-consuming operations
    • SUSTAINED_OVERLOAD

      public static final SystemLoadState SUSTAINED_OVERLOAD
      Long-term sustained overload of the system. Need to reduce resource-consuming operations for a long period
  • Method Details

    • values

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