Enum XaPool.Tag
- All Implemented Interfaces:
Serializable,Comparable<XaPool.Tag>,java.lang.constant.Constable
- Enclosing interface:
XaPool
A Tag.
- Author:
- Stefano Maestri
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncapacity tagfair tagflush-strategy taginitial-pool-size taginterleaving tagisSameRmOverrideValue tagmaxPoolSize tagmin-pool-size tagno-tx-separate-pools tagpad-xid tagprefill tagalways firstuse-strict-min tagwrap-xa-resource tag -
Method Summary
Modifier and TypeMethodDescriptionstatic XaPool.TagStatic method to get enum instance given localName XsdStringGet the local name of this element.toString()static XaPool.TagReturns the enum constant of this type with the specified name.static XaPool.Tag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
always first -
MIN_POOL_SIZE
min-pool-size tag -
INITIAL_POOL_SIZE
initial-pool-size tag -
MAX_POOL_SIZE
maxPoolSize tag -
PREFILL
prefill tag -
FAIR
fair tag -
USE_STRICT_MIN
use-strict-min tag -
FLUSH_STRATEGY
flush-strategy tag -
CAPACITY
capacity tag -
IS_SAME_RM_OVERRIDE
isSameRmOverrideValue tag -
INTERLEAVING
interleaving tag -
PAD_XID
pad-xid tag -
WRAP_XA_RESOURCE
wrap-xa-resource tag -
NO_TX_SEPARATE_POOLS
no-tx-separate-pools 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<XaPool.Tag>
-
forName
Static method to get enum instance given localName XsdString- Parameters:
localName- a XsdString used as localname (typically tag name as defined in xsd)- Returns:
- the enum instance
-