public class PoolImpl extends Object implements Pool
| Modifier and Type | Field and Description |
|---|---|
protected Capacity |
capacity
capacity
|
protected Boolean |
fair
is-fair
|
protected FlushStrategy |
flushStrategy
flush-strategy
|
protected Integer |
initialPoolSize
initial-pool-size
|
protected Integer |
maxPoolSize
maxPoolSize
|
protected Integer |
minPoolSize
minPoolSize
|
protected Boolean |
prefill
prefill
|
protected Boolean |
useStrictMin
use-strict-min
|
| Constructor and Description |
|---|
PoolImpl(Integer minPoolSize,
Integer initialPoolSize,
Integer maxPoolSize,
Boolean prefill,
Boolean useStrictMin,
FlushStrategy flushStrategy,
Capacity capacity,
Boolean fair)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Capacity |
getCapacity() |
FlushStrategy |
getFlushStrategy() |
Integer |
getInitialPoolSize() |
Integer |
getMaxPoolSize() |
Integer |
getMinPoolSize() |
int |
hashCode() |
Boolean |
isFair() |
Boolean |
isPrefill() |
Boolean |
isUseStrictMin() |
String |
toString() |
void |
validate() |
protected Integer minPoolSize
protected Integer initialPoolSize
protected Integer maxPoolSize
protected Boolean prefill
protected Boolean useStrictMin
protected FlushStrategy flushStrategy
protected Capacity capacity
protected Boolean fair
public PoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Capacity capacity, Boolean fair) throws ValidateException
minPoolSize - minPoolSizeinitialPoolSize - initialPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategycapacity - capacityfair - fairValidateException - ValidateExceptionpublic Integer getMinPoolSize()
getMinPoolSize in interface Poolpublic Integer getInitialPoolSize()
getInitialPoolSize in interface Poolpublic Integer getMaxPoolSize()
getMaxPoolSize in interface Poolpublic Boolean isUseStrictMin()
isUseStrictMin in interface Poolpublic FlushStrategy getFlushStrategy()
getFlushStrategy in interface Poolpublic Capacity getCapacity()
getCapacity in interface Poolpublic void validate()
throws ValidateException
validate in interface ValidatableMetadataValidateExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.