Enum BaseNode.Condition

    • Enum Constant Detail

      • ENABLED

        public static final BaseNode.Condition ENABLED
        Node is permitted to accept new connections.
      • DISABLED

        public static final BaseNode.Condition DISABLED
        Node is not permitted to accept any new connections regardless of session persistence configuration. Existing connections are forcibly terminated.
      • DRAINING

        public static final BaseNode.Condition DRAINING
        Node is allowed to service existing established connections and connections that are being directed to it as a result of the session persistence configuration.
    • Method Detail

      • values

        public static BaseNode.Condition[] 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 (BaseNode.Condition c : BaseNode.Condition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BaseNode.Condition valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null