Enum Class HeartbeatStatus

java.lang.Object
java.lang.Enum<HeartbeatStatus>
org.eso.ias.heartbeat.HeartbeatStatus
All Implemented Interfaces:
Serializable, Comparable<HeartbeatStatus>, Constable

public enum HeartbeatStatus extends Enum<HeartbeatStatus>
The message sent by the heartbeat reporting the status of the tool.
Author:
acaproni
  • Enum Constant Details

    • STARTING_UP

      public static final HeartbeatStatus STARTING_UP
      The tool is starting up. This phase includes the building of the objects, acquiringg of resources, initialization etc.
    • RUNNING

      public static final HeartbeatStatus RUNNING
      The tool is up and running
    • PARTIALLY_RUNNING

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

      public static final HeartbeatStatus PAUSED
      The tool is paused i.e. it does not process inputs neither produces outputs.
    • EXITING

      public static final HeartbeatStatus EXITING
      The tool is shutting down This message includes releasing of resources, closing of threads etc.
  • Method Details

    • values

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