Enum PoolParams.Tag

    • Enum Constant Detail

      • INITIAL_CAPACITY

        public static final PoolParams.Tag INITIAL_CAPACITY
        initial-capacity tag
      • MAX_CAPACITY

        public static final PoolParams.Tag MAX_CAPACITY
        max-capacity tag
      • CAPACITY_INCREMENT

        public static final PoolParams.Tag CAPACITY_INCREMENT
        capacity-increment tag
      • SHRINKING_ENABLED

        public static final PoolParams.Tag SHRINKING_ENABLED
        shrinking-enabled tag
      • SHRINK_FREQUENCY_SECONDS

        public static final PoolParams.Tag SHRINK_FREQUENCY_SECONDS
        shrink-frequency-seconds tag
      • HIGHEST_NUM_WAITERS

        public static final PoolParams.Tag HIGHEST_NUM_WAITERS
        highest-num-waiters tag
      • HIGHEST_NUM_UNAVILABE

        public static final PoolParams.Tag HIGHEST_NUM_UNAVILABE
        highest-num-unavailable tag
      • CONNECTION_CREATION_RETRY_FREQUENCY_SECONDS

        public static final PoolParams.Tag CONNECTION_CREATION_RETRY_FREQUENCY_SECONDS
        connection-creation-retry-frequency-seconds tag
      • CONNECTION_RESERVE_TIMWOUT_SECONDS

        public static final PoolParams.Tag CONNECTION_RESERVE_TIMWOUT_SECONDS
        connection-reserve-timeout-seconds tag
      • TEST_FREQUENCY_SECONDS

        public static final PoolParams.Tag TEST_FREQUENCY_SECONDS
        test-frequency-seconds tag
      • TEST_CONNECTION_ON_CREATE

        public static final PoolParams.Tag TEST_CONNECTION_ON_CREATE
        test-connections-on-create tag
      • TEST_CONNECTION_ON_RELEASE

        public static final PoolParams.Tag TEST_CONNECTION_ON_RELEASE
        test-connections-on-release tag
      • TEST_CONNECTION_ON_RESERVE

        public static final PoolParams.Tag TEST_CONNECTION_ON_RESERVE
        test-connections-on-reserve tag
      • PROFILE_HARVEST_FREQUENCY_SECONDS

        public static final PoolParams.Tag PROFILE_HARVEST_FREQUENCY_SECONDS
        profile-harvest-frequency-seconds tag
      • IGNORE_IN_USE_CONNECTION_ENABLED

        public static final PoolParams.Tag IGNORE_IN_USE_CONNECTION_ENABLED
        ignore-in-use-connections-enabled tag
      • MATCH_CONNECTIONS_SUPPORTED

        public static final PoolParams.Tag MATCH_CONNECTIONS_SUPPORTED
        match-connections-supported tag
      • USE_FIRST_AVAILABLE

        public static final PoolParams.Tag USE_FIRST_AVAILABLE
        use-first-available tag
    • Method Detail

      • values

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

        public static PoolParams.Tag 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
      • getLocalName

        public String getLocalName()
        Get the local name of this element.
        Returns:
        the local name
      • forName

        public static PoolParams.Tag forName​(String localName)
        Static method to get enum instance given localName string
        Parameters:
        localName - a string used as localname (typically tag name as defined in xsd)
        Returns:
        the enum instance