
public class PoolImpl extends Object implements org.jboss.jca.common.api.metadata.common.Pool
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.jca.common.api.metadata.common.Capacity |
capacity
capacity
|
protected Boolean |
fair
is-fair
|
protected org.jboss.jca.common.api.metadata.common.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,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy,
org.jboss.jca.common.api.metadata.common.Capacity capacity,
Boolean fair)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.jboss.jca.common.api.metadata.common.Capacity |
getCapacity()
Get the capacity
|
org.jboss.jca.common.api.metadata.common.FlushStrategy |
getFlushStrategy()
Get the flushStrategy.
|
Integer |
getInitialPoolSize()
Get the initial pool size
|
Integer |
getMaxPoolSize()
Get the maxPoolSize.
|
Integer |
getMinPoolSize()
Get the minPoolSize.
|
int |
hashCode() |
Boolean |
isFair()
Get pool fairness.
|
Boolean |
isPrefill()
Get the prefill.
|
Boolean |
isUseStrictMin()
Get the useStrictMin.
|
String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
protected Integer minPoolSize
protected Integer initialPoolSize
protected Integer maxPoolSize
protected Boolean prefill
protected Boolean useStrictMin
protected org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy
protected org.jboss.jca.common.api.metadata.common.Capacity capacity
protected Boolean fair
public PoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy, org.jboss.jca.common.api.metadata.common.Capacity capacity, Boolean fair) throws org.jboss.jca.common.api.validator.ValidateException
minPoolSize - minPoolSizeinitialPoolSize - initialPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategycapacity - capacityfair - fairorg.jboss.jca.common.api.validator.ValidateException - ValidateExceptionpublic Integer getMinPoolSize()
getMinPoolSize in interface org.jboss.jca.common.api.metadata.common.Poolpublic Integer getInitialPoolSize()
getInitialPoolSize in interface org.jboss.jca.common.api.metadata.common.Poolpublic Integer getMaxPoolSize()
getMaxPoolSize in interface org.jboss.jca.common.api.metadata.common.Poolpublic Boolean isPrefill()
isPrefill in interface org.jboss.jca.common.api.metadata.common.Poolpublic Boolean isUseStrictMin()
isUseStrictMin in interface org.jboss.jca.common.api.metadata.common.Poolpublic org.jboss.jca.common.api.metadata.common.FlushStrategy getFlushStrategy()
getFlushStrategy in interface org.jboss.jca.common.api.metadata.common.Poolpublic org.jboss.jca.common.api.metadata.common.Capacity getCapacity()
getCapacity in interface org.jboss.jca.common.api.metadata.common.Poolpublic Boolean isFair()
isFair in interface org.jboss.jca.common.api.metadata.common.Poolpublic void validate()
throws org.jboss.jca.common.api.validator.ValidateException
validate in interface org.jboss.jca.common.api.metadata.ValidatableMetadataorg.jboss.jca.common.api.validator.ValidateException - in case of validation failCopyright © 2014 IronJacamar (http://www.ironjacamar.org)