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 the
xa-poolType xsd type-
Method Summary
Modifier and TypeMethodDescriptionSets thefairelementflushStrategy(String flushStrategy) Sets theflush-strategyelementReturns theflush-strategyelementReturns theinitial-pool-sizeelementReturns themax-pool-sizeelementReturns themin-pool-sizeelementIf not already created, a newcapacityelement with the given value will be created.initialPoolSize(Integer initialPoolSize) Sets theinitial-pool-sizeelementSets theinterleavingelementisFair()Returns thefairelementRemoves theinterleavingelementReturns theis-same-rm-overrideelementRemoves theno-tx-separate-poolselementisPadXid()Returns thepad-xidelementReturns theprefillelementisSameRmOverride(Boolean isSameRmOverride) Sets theis-same-rm-overrideelementReturns theuse-strict-minelementReturns thewrap-xa-resourceelementmaxPoolSize(Integer maxPoolSize) Sets themax-pool-sizeelementminPoolSize(Integer minPoolSize) Sets themin-pool-sizeelementSets theno-tx-separate-poolselementSets thepad-xidelementSets theprefillelementRemoves thecapacityelementRemoves thefairelementRemoves theflush-strategyelementRemoves theinitial-pool-sizeelementRemoves theinterleavingelementRemoves theis-same-rm-overrideelementRemoves themax-pool-sizeelementRemoves themin-pool-sizeelementRemoves theno-tx-separate-poolselementRemoves thepad-xidelementRemoves theprefillelementRemoves theuse-strict-minelementRemoves thewrap-xa-resourceelementuseStrictMin(Boolean useStrictMin) Sets theuse-strict-minelementwrapXaResource(Boolean wrapXaResource) Sets thewrap-xa-resourceelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
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
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
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
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
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
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
CapacityTypeinvalid input: '<'XaPoolType>
-
removeCapacity
XaPoolType<T> removeCapacity()Removes thecapacityelement- Returns:
- the current instance of
XaPoolType
-
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
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
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
-