Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
PoolType<T> |
flushStrategy(String flushStrategy)
Sets the
flush-strategy element |
String |
getFlushStrategy()
Returns the
flush-strategy element |
Integer |
getMaxPoolSize()
Returns the
max-pool-size element |
Integer |
getMinPoolSize()
Returns the
min-pool-size element |
Boolean |
isPrefill()
Returns the
prefill element |
Boolean |
isUseStrictMin()
Returns the
use-strict-min element |
PoolType<T> |
maxPoolSize(Integer maxPoolSize)
Sets the
max-pool-size element |
PoolType<T> |
minPoolSize(Integer minPoolSize)
Sets the
min-pool-size element |
PoolType<T> |
prefill(Boolean prefill)
Sets the
prefill element |
PoolType<T> |
removeFlushStrategy()
Removes the
flush-strategy element |
PoolType<T> |
removeMaxPoolSize()
Removes the
max-pool-size element |
PoolType<T> |
removeMinPoolSize()
Removes the
min-pool-size element |
PoolType<T> |
removePrefill()
Removes the
prefill element |
PoolType<T> |
removeUseStrictMin()
Removes the
use-strict-min element |
T |
up() |
PoolType<T> |
useStrictMin(Boolean useStrictMin)
Sets the
use-strict-min element |
public PoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public PoolType<T> minPoolSize(Integer minPoolSize)
min-pool-size
elementminPoolSize
in interface PoolType<T>
minPoolSize
- the value for the element min-pool-size
PoolType
public Integer getMinPoolSize()
min-pool-size
elementgetMinPoolSize
in interface PoolType<T>
min-pool-size
public PoolType<T> removeMinPoolSize()
min-pool-size
elementremoveMinPoolSize
in interface PoolType<T>
PoolType
public PoolType<T> maxPoolSize(Integer maxPoolSize)
max-pool-size
elementmaxPoolSize
in interface PoolType<T>
maxPoolSize
- the value for the element max-pool-size
PoolType
public Integer getMaxPoolSize()
max-pool-size
elementgetMaxPoolSize
in interface PoolType<T>
max-pool-size
public PoolType<T> removeMaxPoolSize()
max-pool-size
elementremoveMaxPoolSize
in interface PoolType<T>
PoolType
public Boolean isPrefill()
prefill
elementpublic PoolType<T> removePrefill()
prefill
elementremovePrefill
in interface PoolType<T>
PoolType
public PoolType<T> useStrictMin(Boolean useStrictMin)
use-strict-min
elementuseStrictMin
in interface PoolType<T>
useStrictMin
- the value for the element use-strict-min
PoolType
public Boolean isUseStrictMin()
use-strict-min
elementisUseStrictMin
in interface PoolType<T>
use-strict-min
public PoolType<T> removeUseStrictMin()
use-strict-min
elementremoveUseStrictMin
in interface PoolType<T>
PoolType
public PoolType<T> flushStrategy(String flushStrategy)
flush-strategy
elementflushStrategy
in interface PoolType<T>
flushStrategy
- the value for the element flush-strategy
PoolType
public String getFlushStrategy()
flush-strategy
elementgetFlushStrategy
in interface PoolType<T>
flush-strategy
public PoolType<T> removeFlushStrategy()
flush-strategy
elementremoveFlushStrategy
in interface PoolType<T>
PoolType
Copyright © 2017 JBoss by Red Hat. All rights reserved.