Package org.eso.ias.heartbeat
Enum Class HeartbeatStatus
- All Implemented Interfaces:
Serializable
,Comparable<HeartbeatStatus>
,Constable
The message sent by the heartbeat reporting the status
of the tool.
- Author:
- acaproni
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe tool is shutting down This message includes releasing of resources, closing of threads etc.The tool is running but not fully operative For example a Supervisor where a DASU does not run due to a failure of the TF of one of the ASCEs.The tool is paused i.e.The tool is up and runningThe tool is starting up. -
Method Summary
Modifier and TypeMethodDescriptionstatic HeartbeatStatus
Returns the enum constant of this class with the specified name.static HeartbeatStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTING_UP
The tool is starting up. This phase includes the building of the objects, acquiringg of resources, initialization etc. -
RUNNING
The tool is up and running -
PARTIALLY_RUNNING
The tool is running but not fully operative For example a Supervisor where a DASU does not run due to a failure of the TF of one of the ASCEs. -
PAUSED
The tool is paused i.e. it does not process inputs neither produces outputs. -
EXITING
The tool is shutting down This message includes releasing of resources, closing of threads etc.
-
-
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
-