Package com._1c.g5.resourcemanagement
Enum Class SystemLoadState
- All Implemented Interfaces:
Serializable
,Comparable<SystemLoadState>
,Constable
Resource load state of the system
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe critical oveload of the system.Normal level of the loadThe system is overloaded, need to reduce resource-consuming operationsLong-term sustained overload of the system. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemLoadState
Returns the enum constant of this class with the specified name.static SystemLoadState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Normal level of the load -
OVERLOAD
The system is overloaded, need to reduce resource-consuming operations -
CRITICAL
The critical oveload of the system. Need to perform emergency stop of all resource-consuming operations -
SUSTAINED_OVERLOAD
Long-term sustained overload of the system. Need to reduce resource-consuming operations for a long period
-
-
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
-