Class PoolTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.ironjacamar10.impl.PoolTypeImpl<T>
-
-
Constructor Summary
Constructors Constructor Description PoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)PoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoolType<T>flushStrategy(String flushStrategy)Sets theflush-strategyelementStringgetFlushStrategy()Returns theflush-strategyelementIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementBooleanisPrefill()Returns theprefillelementBooleanisUseStrictMin()Returns theuse-strict-minelementPoolType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementPoolType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementPoolType<T>prefill(Boolean prefill)Sets theprefillelementPoolType<T>removeFlushStrategy()Removes theflush-strategyelementPoolType<T>removeMaxPoolSize()Removes themax-pool-sizeelementPoolType<T>removeMinPoolSize()Removes themin-pool-sizeelementPoolType<T>removePrefill()Removes theprefillelementPoolType<T>removeUseStrictMin()Removes theuse-strict-minelementTup()PoolType<T>useStrictMin(Boolean useStrictMin)Sets theuse-strict-minelement
-
-
-
Method Detail
-
minPoolSize
public PoolType<T> minPoolSize(Integer minPoolSize)
Sets themin-pool-sizeelement- Specified by:
minPoolSizein interfacePoolType<T>- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
PoolType
-
getMinPoolSize
public Integer getMinPoolSize()
Returns themin-pool-sizeelement- Specified by:
getMinPoolSizein interfacePoolType<T>- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
public PoolType<T> removeMinPoolSize()
Removes themin-pool-sizeelement- Specified by:
removeMinPoolSizein interfacePoolType<T>- Returns:
- the current instance of
PoolType
-
maxPoolSize
public PoolType<T> maxPoolSize(Integer maxPoolSize)
Sets themax-pool-sizeelement- Specified by:
maxPoolSizein interfacePoolType<T>- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
PoolType
-
getMaxPoolSize
public Integer getMaxPoolSize()
Returns themax-pool-sizeelement- Specified by:
getMaxPoolSizein interfacePoolType<T>- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
public PoolType<T> removeMaxPoolSize()
Removes themax-pool-sizeelement- Specified by:
removeMaxPoolSizein interfacePoolType<T>- Returns:
- the current instance of
PoolType
-
isPrefill
public Boolean isPrefill()
Returns theprefillelement
-
removePrefill
public PoolType<T> removePrefill()
Removes theprefillelement- Specified by:
removePrefillin interfacePoolType<T>- Returns:
- the current instance of
PoolType
-
useStrictMin
public PoolType<T> useStrictMin(Boolean useStrictMin)
Sets theuse-strict-minelement- Specified by:
useStrictMinin interfacePoolType<T>- Parameters:
useStrictMin- the value for the elementuse-strict-min- Returns:
- the current instance of
PoolType
-
isUseStrictMin
public Boolean isUseStrictMin()
Returns theuse-strict-minelement- Specified by:
isUseStrictMinin interfacePoolType<T>- Returns:
- the node defined for the element
use-strict-min
-
removeUseStrictMin
public PoolType<T> removeUseStrictMin()
Removes theuse-strict-minelement- Specified by:
removeUseStrictMinin interfacePoolType<T>- Returns:
- the current instance of
PoolType
-
flushStrategy
public PoolType<T> flushStrategy(String flushStrategy)
Sets theflush-strategyelement- Specified by:
flushStrategyin interfacePoolType<T>- Parameters:
flushStrategy- the value for the elementflush-strategy- Returns:
- the current instance of
PoolType
-
getFlushStrategy
public String getFlushStrategy()
Returns theflush-strategyelement- Specified by:
getFlushStrategyin interfacePoolType<T>- Returns:
- the node defined for the element
flush-strategy
-
removeFlushStrategy
public PoolType<T> removeFlushStrategy()
Removes theflush-strategyelement- Specified by:
removeFlushStrategyin interfacePoolType<T>- Returns:
- the current instance of
PoolType
-
-