com.ibm.streams.management.instance

Enum InstanceMXBean.JobHealthSummary

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      HEALTHY
      All PEs in all jobs are running.
      PARTIALLY_HEALTHY
      All PEs in all jobs are running.
      PARTIALLY_UNHEALTHY
      All PES in all jobs are running, but at least one required PE connection is not healthy.
      UNHEALTHY
      At least one PE in a job is stopped or stopping.
      UNKNOWN
      The summarized job health is not known.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static InstanceMXBean.JobHealthSummary fromString(java.lang.String health)
      Converts from a string representation of a job health summary value to the corresponding enumeration value.
      java.lang.String toString()
      Converts the enumeration value to a string.
      static InstanceMXBean.JobHealthSummary valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static InstanceMXBean.JobHealthSummary[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • HEALTHY

        public static final InstanceMXBean.JobHealthSummary HEALTHY
        All PEs in all jobs are running. All required PE connections are healthy. All optional PE connections are healthy.
      • PARTIALLY_HEALTHY

        public static final InstanceMXBean.JobHealthSummary PARTIALLY_HEALTHY
        All PEs in all jobs are running. All required PE connections are healthy, but at least one optional PE connection is not healthy.
      • PARTIALLY_UNHEALTHY

        public static final InstanceMXBean.JobHealthSummary PARTIALLY_UNHEALTHY
        All PES in all jobs are running, but at least one required PE connection is not healthy.
    • Method Detail

      • values

        public static InstanceMXBean.JobHealthSummary[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InstanceMXBean.JobHealthSummary c : InstanceMXBean.JobHealthSummary.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InstanceMXBean.JobHealthSummary valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Converts the enumeration value to a string.
        Overrides:
        toString in class java.lang.Enum<InstanceMXBean.JobHealthSummary>
        Returns:
        a string representation of the JobHealthSummary value.
      • fromString

        public static InstanceMXBean.JobHealthSummary fromString(java.lang.String health)
        Converts from a string representation of a job health summary value to the corresponding enumeration value.
        Parameters:
        health - specifies a job health summary string value.
        Returns:
        the corresponding JobHealthSummary enumeration value.
        Throws:
        java.lang.IllegalArgumentException - if the input string does not map to an enumeration value.
        java.lang.NullPointerException - if the input value is null.
IBM InfoSphere Streams JMX API