com.ibm.streams.management.instance

Enum InstanceMXBean.Status

  • java.lang.Object
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      FAILED
      The instance had been started but all resources now have FAILED status.
      PARTIALLY_FAILED
      The instance has been started but at least one resource has a FAILED status.
      PARTIALLY_RUNNING
      The instance has been started and each of the services are running, but not all redundant services could be started in order to satisfy the HIGH_AVAILABILITY_COUNT configuration property setting.
      RUNNING
      The instance has been started and all resources have a RUNNING status.
      STARTING
      The instance is starting.
      STOPPED
      The instance has been stopped.
      STOPPING
      The instance is stopping.
      UNKNOWN
      The status of the instance is unknown.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static InstanceMXBean.Status fromString(java.lang.String status)
      Converts from a string representation of an instance status to the corresponding enumeration value.
      java.lang.String toString()
      Converts the enumeration value to a string.
      static InstanceMXBean.Status valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static InstanceMXBean.Status[] 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
    • Method Detail

      • values

        public static InstanceMXBean.Status[] 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.Status c : InstanceMXBean.Status.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.Status 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.Status>
        Returns:
        a string representation of the Status value.
      • fromString

        public static InstanceMXBean.Status fromString(java.lang.String status)
        Converts from a string representation of an instance status to the corresponding enumeration value.
        Parameters:
        status - specifies an instance status string value.
        Returns:
        the corresponding Status 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.