com.ibm.streams.management.instance
Enum InstanceMXBean.JobHealthSummary
- java.lang.Object
-
- java.lang.Enum<InstanceMXBean.JobHealthSummary>
-
- com.ibm.streams.management.instance.InstanceMXBean.JobHealthSummary
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<InstanceMXBean.JobHealthSummary>
- Enclosing interface:
- InstanceMXBean
public static enum InstanceMXBean.JobHealthSummary extends java.lang.Enum<InstanceMXBean.JobHealthSummary>
Enumeration for summarized health for the jobs in the instance
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description HEALTHYAll PEs in all jobs are running.PARTIALLY_HEALTHYAll PEs in all jobs are running.PARTIALLY_UNHEALTHYAll PES in all jobs are running, but at least one required PE connection is not healthy.UNHEALTHYAt least one PE in a job is stopped or stopping.UNKNOWNThe summarized job health is not known.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static InstanceMXBean.JobHealthSummaryfromString(java.lang.String health)Converts from a string representation of a job health summary value to the corresponding enumeration value.java.lang.StringtoString()Converts the enumeration value to a string.static InstanceMXBean.JobHealthSummaryvalueOf(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.
-
-
-
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.
-
UNHEALTHY
public static final InstanceMXBean.JobHealthSummary UNHEALTHY
At least one PE in a job is stopped or stopping.
-
UNKNOWN
public static final InstanceMXBean.JobHealthSummary UNKNOWN
The summarized job health is not known.
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
Converts the enumeration value to a string.- Overrides:
toStringin classjava.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.
-
-