Enum PoolParams.Tag
- All Implemented Interfaces:
Serializable,Comparable<PoolParams.Tag>,java.lang.constant.Constable
- Enclosing interface:
- PoolParams
A Tag.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncapacity-increment tagconnection-creation-retry-frequency-seconds tagconnection-reserve-timeout-seconds taghighest-num-unavailable taghighest-num-waiters tagignore-in-use-connections-enabled taginitial-capacity tagmatch-connections-supported tagmax-capacity tagprofile-harvest-frequency-seconds tagshrink-frequency-seconds tagshrinking-enabled tagtest-connections-on-create tagtest-connections-on-release tagtest-connections-on-reserve tagtest-frequency-seconds tagalways firstuse-first-available tag -
Method Summary
Modifier and TypeMethodDescriptionstatic PoolParams.TagStatic method to get enum instance given localName stringGet the local name of this element.toString()static PoolParams.TagReturns the enum constant of this type with the specified name.static PoolParams.Tag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
always first -
INITIAL_CAPACITY
initial-capacity tag -
MAX_CAPACITY
max-capacity tag -
CAPACITY_INCREMENT
capacity-increment tag -
SHRINKING_ENABLED
shrinking-enabled tag -
SHRINK_FREQUENCY_SECONDS
shrink-frequency-seconds tag -
HIGHEST_NUM_WAITERS
highest-num-waiters tag -
HIGHEST_NUM_UNAVILABE
highest-num-unavailable tag -
CONNECTION_CREATION_RETRY_FREQUENCY_SECONDS
connection-creation-retry-frequency-seconds tag -
CONNECTION_RESERVE_TIMWOUT_SECONDS
connection-reserve-timeout-seconds tag -
TEST_FREQUENCY_SECONDS
test-frequency-seconds tag -
TEST_CONNECTION_ON_CREATE
test-connections-on-create tag -
TEST_CONNECTION_ON_RELEASE
test-connections-on-release tag -
TEST_CONNECTION_ON_RESERVE
test-connections-on-reserve tag -
PROFILE_HARVEST_FREQUENCY_SECONDS
profile-harvest-frequency-seconds tag -
IGNORE_IN_USE_CONNECTION_ENABLED
ignore-in-use-connections-enabled tag -
MATCH_CONNECTIONS_SUPPORTED
match-connections-supported tag -
USE_FIRST_AVAILABLE
use-first-available tag
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getLocalName
Get the local name of this element.- Returns:
- the local name
-
toString
- Overrides:
toStringin classEnum<PoolParams.Tag>
-
forName
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
-