Class PoolImpl
java.lang.Object
org.jboss.jca.common.metadata.common.PoolImpl
- All Implemented Interfaces:
Serializable,Pool,JCAMetadata,ValidatableMetadata
- Direct Known Subclasses:
DsPoolImpl,XaPoolImpl
A PoolImpl.
- Author:
- Stefano Maestri
- See Also:
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
minPoolSize
minPoolSize -
initialPoolSize
initial-pool-size -
maxPoolSize
maxPoolSize -
prefill
prefill -
useStrictMin
use-strict-min -
flushStrategy
flush-strategy -
capacity
capacity -
fair
is-fair
-
-
Constructor Details
-
PoolImpl
public PoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Capacity capacity, Boolean fair) throws ValidateException Constructor- Parameters:
minPoolSize- minPoolSizeinitialPoolSize- initialPoolSizemaxPoolSize- maxPoolSizeprefill- prefilluseStrictMin- useStrictMinflushStrategy- flushStrategycapacity- capacityfair- fair- Throws:
ValidateException- ValidateException
-
-
Method Details
-
getMinPoolSize
- Specified by:
getMinPoolSizein interfacePool
-
getInitialPoolSize
- Specified by:
getInitialPoolSizein interfacePool
-
getMaxPoolSize
- Specified by:
getMaxPoolSizein interfacePool
-
isPrefill
-
isUseStrictMin
- Specified by:
isUseStrictMinin interfacePool
-
getFlushStrategy
- Specified by:
getFlushStrategyin interfacePool
-
getCapacity
- Specified by:
getCapacityin interfacePool
-
isFair
-
validate
- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException
-
hashCode
public int hashCode() -
equals
-
toString
-