Enum PoolParams.Tag
- java.lang.Object
-
- java.lang.Enum<PoolParams.Tag>
-
- org.jboss.jca.as.converters.wls.api.metadata.PoolParams.Tag
-
- All Implemented Interfaces:
Serializable,Comparable<PoolParams.Tag>
- Enclosing interface:
- PoolParams
public static enum PoolParams.Tag extends Enum<PoolParams.Tag>
A Tag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPACITY_INCREMENTcapacity-increment tagCONNECTION_CREATION_RETRY_FREQUENCY_SECONDSconnection-creation-retry-frequency-seconds tagCONNECTION_RESERVE_TIMWOUT_SECONDSconnection-reserve-timeout-seconds tagHIGHEST_NUM_UNAVILABEhighest-num-unavailable tagHIGHEST_NUM_WAITERShighest-num-waiters tagIGNORE_IN_USE_CONNECTION_ENABLEDignore-in-use-connections-enabled tagINITIAL_CAPACITYinitial-capacity tagMATCH_CONNECTIONS_SUPPORTEDmatch-connections-supported tagMAX_CAPACITYmax-capacity tagPROFILE_HARVEST_FREQUENCY_SECONDSprofile-harvest-frequency-seconds tagSHRINK_FREQUENCY_SECONDSshrink-frequency-seconds tagSHRINKING_ENABLEDshrinking-enabled tagTEST_CONNECTION_ON_CREATEtest-connections-on-create tagTEST_CONNECTION_ON_RELEASEtest-connections-on-release tagTEST_CONNECTION_ON_RESERVEtest-connections-on-reserve tagTEST_FREQUENCY_SECONDStest-frequency-seconds tagUNKNOWNalways firstUSE_FIRST_AVAILABLEuse-first-available tag
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PoolParams.TagforName(String localName)Static method to get enum instance given localName stringStringgetLocalName()Get the local name of this element.StringtoString()static PoolParams.TagvalueOf(String name)Returns 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 Detail
-
UNKNOWN
public static final PoolParams.Tag UNKNOWN
always first
-
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 nameNullPointerException- if the argument is null
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
toString
public String toString()
- Overrides:
toStringin classEnum<PoolParams.Tag>
-
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
-
-