public class DsPoolImpl extends PoolImpl implements DsPool
DsPool.Tag
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
allowMultipleUsers
allow-multiple-users
|
protected Extension |
connectionListener
connection-listener
|
capacity, fair, flushStrategy, initialPoolSize, maxPoolSize, minPoolSize, prefill, useStrictMin
Constructor and Description |
---|
DsPoolImpl(java.lang.Integer minPoolSize,
java.lang.Integer initialPoolSize,
java.lang.Integer maxPoolSize,
java.lang.Boolean prefill,
java.lang.Boolean useStrictMin,
FlushStrategy flushStrategy,
java.lang.Boolean allowMultipleUsers,
Capacity capacity,
java.lang.Boolean fair,
Extension connectionListener)
Create a new PoolImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Extension |
getConnectionListener()
Get the connection listener
|
int |
hashCode() |
java.lang.Boolean |
isAllowMultipleUsers()
Are multiple users allowed to create connections
|
java.lang.String |
toString() |
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMin, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMin
validate
protected java.lang.Boolean allowMultipleUsers
protected Extension connectionListener
public DsPoolImpl(java.lang.Integer minPoolSize, java.lang.Integer initialPoolSize, java.lang.Integer maxPoolSize, java.lang.Boolean prefill, java.lang.Boolean useStrictMin, FlushStrategy flushStrategy, java.lang.Boolean allowMultipleUsers, Capacity capacity, java.lang.Boolean fair, Extension connectionListener) throws ValidateException
minPoolSize
- minPoolSizeinitialPoolSize
- initialPoolSizemaxPoolSize
- maxPoolSizeprefill
- prefilluseStrictMin
- useStrictMinflushStrategy
- flushStrategyallowMultipleUsers
- allowMultipleUserscapacity
- capacityfair
- fairconnectionListener
- connectionListenerValidateException
- ValidateExceptionpublic java.lang.Boolean isAllowMultipleUsers()
isAllowMultipleUsers
in interface DsPool
public Extension getConnectionListener()
getConnectionListener
in interface DsPool
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)