| |
|
| java.lang.Object org.objectweb.jonas.resource.ConnectionManagerPoolParams
ConnectionManagerPoolParams | public class ConnectionManagerPoolParams (Code) | | author: Eric Hardesty author: Contributor(s): |
INIT_PSTMT_SIZE | final static int INIT_PSTMT_SIZE(Code) | | The default pstmts per ManagedConnection.
|
INIT_SAMPLING_TIME | final static int INIT_SAMPLING_TIME(Code) | | The default sampling time of the pool
|
SECS_PER_MIN | final static int SECS_PER_MIN(Code) | | The number of seconds per minute
|
ConnectionManagerPoolParams | public ConnectionManagerPoolParams()(Code) | | Default Constructor
|
ConnectionManagerPoolParams | public ConnectionManagerPoolParams(ConnectionManagerPoolParams cmpp)(Code) | | Constructor to build new object based on another set of pool params
Parameters: cmpp - ConnectionManagerPoolParams to initialize this object with |
getJdbcConnLevel | public int getJdbcConnLevel()(Code) | | Return the JDBC connection level
int JDBC connection level |
getJdbcConnTestStmt | public String getJdbcConnTestStmt()(Code) | | Return the JDBC connection test SQL string
String JDBC connection test SQL string |
getPoolInit | public int getPoolInit()(Code) | | Return the pool init size
int initial size of the pool |
getPoolMax | public int getPoolMax()(Code) | | Return the pool maximum size
int maximum size of the pool |
getPoolMaxAge | public long getPoolMaxAge()(Code) | | Return the pool maximum age in seconds
long maximum age of a connection in the pool |
getPoolMaxAgeMinutes | public int getPoolMaxAgeMinutes()(Code) | | Return the pool maximum age in minutes
int maximum age of a connection in the pool |
getPoolMaxOpentime | public int getPoolMaxOpentime()(Code) | | Return the pool maximum open time in minutes
int maximum open time of a connection in the pool |
getPoolMaxWaiters | public int getPoolMaxWaiters()(Code) | | Return the pool maximum waiters size
int maximum waiters of the pool |
getPoolMaxWaittime | public int getPoolMaxWaittime()(Code) | | Return the pool maximum waiter time
int maximum waiter time of the pool |
getPoolMin | public int getPoolMin()(Code) | | Return the pool min size
int minimum size of the pool |
getPoolSamplingPeriod | public int getPoolSamplingPeriod()(Code) | | Return the pool sampling period
int pool sampling period |
getPstmtMax | public int getPstmtMax()(Code) | | Return the maximum PreparedStatement cache
int maximum PreparedStatement cache |
setJdbcConnLevel | public void setJdbcConnLevel(int val)(Code) | | Set the JDBC connection level
Parameters: val - JDBC connection level |
setJdbcConnTestStmt | public void setJdbcConnTestStmt(String val)(Code) | | Set the JDBC connection test SQL string
Parameters: val - JDBC connection test SQL string |
setPoolInit | public void setPoolInit(int val)(Code) | | Set the pool init size
Parameters: val - pool initial size |
setPoolMax | public void setPoolMax(int val)(Code) | | Set the pool maximum size
Parameters: val - pool maximum size |
setPoolMaxAge | public void setPoolMaxAge(long val)(Code) | | Set the pool maximum age value
Parameters: val - pool maximum age value |
setPoolMaxAgeMinutes | public void setPoolMaxAgeMinutes(int val)(Code) | | Set the pool maximum age value
Parameters: val - pool maximum age value |
setPoolMaxOpentime | public void setPoolMaxOpentime(int val)(Code) | | Set the pool maximum open time value
Parameters: val - pool maximum open time value |
setPoolMaxWaiters | public void setPoolMaxWaiters(int val)(Code) | | Set the pool maximum waiters size
Parameters: val - pool maximum waiters size |
setPoolMaxWaittime | public void setPoolMaxWaittime(int val)(Code) | | Set the pool maximum waiter time
Parameters: val - pool maximum waiters time |
setPoolMin | public void setPoolMin(int val)(Code) | | Set the pool minimum size
Parameters: val - pool minimum size |
setPoolSamplingPeriod | public void setPoolSamplingPeriod(int val)(Code) | | Set the pool sampling period
Parameters: val - pool sampling period |
setPstmtMax | public void setPstmtMax(int val)(Code) | | Set the maximum PreparedStatement cache
Parameters: val - maximum PreparedStatement cache |
toString | public String toString()(Code) | | Output pool information
String representing the pool |
|
|
|