Interface XaPoolType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
XaPoolTypeImpl
public interface XaPoolType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thexa-poolTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XaPoolType<T>fair(Boolean fair)Sets thefairelementXaPoolType<T>flushStrategy(String flushStrategy)Sets theflush-strategyelementStringgetFlushStrategy()Returns theflush-strategyelementIntegergetInitialPoolSize()Returns theinitial-pool-sizeelementIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementCapacityType<XaPoolType<T>>getOrCreateCapacity()If not already created, a newcapacityelement with the given value will be created.XaPoolType<T>initialPoolSize(Integer initialPoolSize)Sets theinitial-pool-sizeelementXaPoolType<T>interleaving()Sets theinterleavingelementBooleanisFair()Returns thefairelementBooleanisInterleaving()Removes theinterleavingelementBooleanisIsSameRmOverride()Returns theis-same-rm-overrideelementBooleanisNoTxSeparatePools()Removes theno-tx-separate-poolselementBooleanisPadXid()Returns thepad-xidelementBooleanisPrefill()Returns theprefillelementXaPoolType<T>isSameRmOverride(Boolean isSameRmOverride)Sets theis-same-rm-overrideelementBooleanisUseStrictMin()Returns theuse-strict-minelementBooleanisWrapXaResource()Returns thewrap-xa-resourceelementXaPoolType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementXaPoolType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementXaPoolType<T>noTxSeparatePools()Sets theno-tx-separate-poolselementXaPoolType<T>padXid(Boolean padXid)Sets thepad-xidelementXaPoolType<T>prefill(Boolean prefill)Sets theprefillelementXaPoolType<T>removeCapacity()Removes thecapacityelementXaPoolType<T>removeFair()Removes thefairelementXaPoolType<T>removeFlushStrategy()Removes theflush-strategyelementXaPoolType<T>removeInitialPoolSize()Removes theinitial-pool-sizeelementXaPoolType<T>removeInterleaving()Removes theinterleavingelementXaPoolType<T>removeIsSameRmOverride()Removes theis-same-rm-overrideelementXaPoolType<T>removeMaxPoolSize()Removes themax-pool-sizeelementXaPoolType<T>removeMinPoolSize()Removes themin-pool-sizeelementXaPoolType<T>removeNoTxSeparatePools()Removes theno-tx-separate-poolselementXaPoolType<T>removePadXid()Removes thepad-xidelementXaPoolType<T>removePrefill()Removes theprefillelementXaPoolType<T>removeUseStrictMin()Removes theuse-strict-minelementXaPoolType<T>removeWrapXaResource()Removes thewrap-xa-resourceelementXaPoolType<T>useStrictMin(Boolean useStrictMin)Sets theuse-strict-minelementXaPoolType<T>wrapXaResource(Boolean wrapXaResource)Sets thewrap-xa-resourceelement
-
-
-
Method Detail
-
minPoolSize
XaPoolType<T> minPoolSize(Integer minPoolSize)
Sets themin-pool-sizeelement- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
XaPoolType
-
getMinPoolSize
Integer getMinPoolSize()
Returns themin-pool-sizeelement- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
XaPoolType<T> removeMinPoolSize()
Removes themin-pool-sizeelement- Returns:
- the current instance of
XaPoolType
-
initialPoolSize
XaPoolType<T> initialPoolSize(Integer initialPoolSize)
Sets theinitial-pool-sizeelement- Parameters:
initialPoolSize- the value for the elementinitial-pool-size- Returns:
- the current instance of
XaPoolType
-
getInitialPoolSize
Integer getInitialPoolSize()
Returns theinitial-pool-sizeelement- Returns:
- the node defined for the element
initial-pool-size
-
removeInitialPoolSize
XaPoolType<T> removeInitialPoolSize()
Removes theinitial-pool-sizeelement- Returns:
- the current instance of
XaPoolType
-
maxPoolSize
XaPoolType<T> maxPoolSize(Integer maxPoolSize)
Sets themax-pool-sizeelement- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
XaPoolType
-
getMaxPoolSize
Integer getMaxPoolSize()
Returns themax-pool-sizeelement- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
XaPoolType<T> removeMaxPoolSize()
Removes themax-pool-sizeelement- Returns:
- the current instance of
XaPoolType
-
prefill
XaPoolType<T> prefill(Boolean prefill)
Sets theprefillelement- Parameters:
prefill- the value for the elementprefill- Returns:
- the current instance of
XaPoolType
-
isPrefill
Boolean isPrefill()
Returns theprefillelement- Returns:
- the node defined for the element
prefill
-
removePrefill
XaPoolType<T> removePrefill()
Removes theprefillelement- Returns:
- the current instance of
XaPoolType
-
fair
XaPoolType<T> fair(Boolean fair)
Sets thefairelement- Parameters:
fair- the value for the elementfair- Returns:
- the current instance of
XaPoolType
-
isFair
Boolean isFair()
Returns thefairelement- Returns:
- the node defined for the element
fair
-
removeFair
XaPoolType<T> removeFair()
Removes thefairelement- Returns:
- the current instance of
XaPoolType
-
useStrictMin
XaPoolType<T> useStrictMin(Boolean useStrictMin)
Sets theuse-strict-minelement- Parameters:
useStrictMin- the value for the elementuse-strict-min- Returns:
- the current instance of
XaPoolType
-
isUseStrictMin
Boolean isUseStrictMin()
Returns theuse-strict-minelement- Returns:
- the node defined for the element
use-strict-min
-
removeUseStrictMin
XaPoolType<T> removeUseStrictMin()
Removes theuse-strict-minelement- Returns:
- the current instance of
XaPoolType
-
flushStrategy
XaPoolType<T> flushStrategy(String flushStrategy)
Sets theflush-strategyelement- Parameters:
flushStrategy- the value for the elementflush-strategy- Returns:
- the current instance of
XaPoolType
-
getFlushStrategy
String getFlushStrategy()
Returns theflush-strategyelement- Returns:
- the node defined for the element
flush-strategy
-
removeFlushStrategy
XaPoolType<T> removeFlushStrategy()
Removes theflush-strategyelement- Returns:
- the current instance of
XaPoolType
-
getOrCreateCapacity
CapacityType<XaPoolType<T>> getOrCreateCapacity()
If not already created, a newcapacityelement with the given value will be created. Otherwise, the existingcapacityelement will be returned.- Returns:
- a new or existing instance of
CapacityType>
-
removeCapacity
XaPoolType<T> removeCapacity()
Removes thecapacityelement- Returns:
- the current instance of
XaPoolType
-
isSameRmOverride
XaPoolType<T> isSameRmOverride(Boolean isSameRmOverride)
Sets theis-same-rm-overrideelement- Parameters:
isSameRmOverride- the value for the elementis-same-rm-override- Returns:
- the current instance of
XaPoolType
-
isIsSameRmOverride
Boolean isIsSameRmOverride()
Returns theis-same-rm-overrideelement- Returns:
- the node defined for the element
is-same-rm-override
-
removeIsSameRmOverride
XaPoolType<T> removeIsSameRmOverride()
Removes theis-same-rm-overrideelement- Returns:
- the current instance of
XaPoolType
-
interleaving
XaPoolType<T> interleaving()
Sets theinterleavingelement- Returns:
- the current instance of
XaPoolType
-
isInterleaving
Boolean isInterleaving()
Removes theinterleavingelement- Returns:
- the current instance of
XaPoolType
-
removeInterleaving
XaPoolType<T> removeInterleaving()
Removes theinterleavingelement- Returns:
- the current instance of
XaPoolType
-
noTxSeparatePools
XaPoolType<T> noTxSeparatePools()
Sets theno-tx-separate-poolselement- Returns:
- the current instance of
XaPoolType
-
isNoTxSeparatePools
Boolean isNoTxSeparatePools()
Removes theno-tx-separate-poolselement- Returns:
- the current instance of
XaPoolType
-
removeNoTxSeparatePools
XaPoolType<T> removeNoTxSeparatePools()
Removes theno-tx-separate-poolselement- Returns:
- the current instance of
XaPoolType
-
padXid
XaPoolType<T> padXid(Boolean padXid)
Sets thepad-xidelement- Parameters:
padXid- the value for the elementpad-xid- Returns:
- the current instance of
XaPoolType
-
isPadXid
Boolean isPadXid()
Returns thepad-xidelement- Returns:
- the node defined for the element
pad-xid
-
removePadXid
XaPoolType<T> removePadXid()
Removes thepad-xidelement- Returns:
- the current instance of
XaPoolType
-
wrapXaResource
XaPoolType<T> wrapXaResource(Boolean wrapXaResource)
Sets thewrap-xa-resourceelement- Parameters:
wrapXaResource- the value for the elementwrap-xa-resource- Returns:
- the current instance of
XaPoolType
-
isWrapXaResource
Boolean isWrapXaResource()
Returns thewrap-xa-resourceelement- Returns:
- the node defined for the element
wrap-xa-resource
-
removeWrapXaResource
XaPoolType<T> removeWrapXaResource()
Removes thewrap-xa-resourceelement- Returns:
- the current instance of
XaPoolType
-
-