Enum ConnectionGroup.Type

    • Enum Constant Detail

      • ORGANIZATIONAL

        public static final ConnectionGroup.Type ORGANIZATIONAL
        A connection group that purely organizes other connections or connection groups, serving only as a container. An organizational connection group is analogous to a directory or folder in a filesystem.
      • BALANCING

        public static final ConnectionGroup.Type BALANCING
        A connection group that acts as a load balancer. A balancing connection group can be connected to in the same manner as a connection, and will transparently route to the least-used underlying connection.
    • Method Detail

      • values

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

        public static ConnectionGroup.Type 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