Enum ExternalAddressSelectionMode

    • Enum Constant Detail

      • ROUND_ROBIN

        public static final ExternalAddressSelectionMode ROUND_ROBIN
        The SIS will iteratively select each address once in turn before recycling back to the first address.
      • LOAD_SHARE

        public static final ExternalAddressSelectionMode LOAD_SHARE
        The SIS will attempt to keep the number of active sessions per address approximately equal.
      • ACTIVE_STANDBY

        public static final ExternalAddressSelectionMode ACTIVE_STANDBY
        The SIS will use the first address in the list unless a failure occurs, in which case it will attempt to use the next address, and so on for all available addresses.
    • Method Detail

      • values

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

        public static ExternalAddressSelectionMode 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
      • fromString

        public static ExternalAddressSelectionMode fromString​(String s)
        Get an ExternalAddressSelectionMode enum from its name.
        Parameters:
        s - the enum's name (case insensitive).
        Returns:
        the ExternalAddressSelectionMode enum.
        Throws:
        IllegalArgumentException - if s is not a valid enum name.