org.objectweb.jonas.resource.ConnectionManagerPoolParams Class Reference

List of all members.

Public Member Functions

 ConnectionManagerPoolParams ()
 ConnectionManagerPoolParams (ConnectionManagerPoolParams cmpp)
int getPoolInit ()
void setPoolInit (int val)
int getPoolMin ()
void setPoolMin (int val)
int getPoolMax ()
void setPoolMax (int val)
long getPoolMaxAge ()
void setPoolMaxAge (long val)
int getPoolMaxAgeMinutes ()
void setPoolMaxAgeMinutes (int val)
int getPoolMaxOpentime ()
void setPoolMaxOpentime (int val)
int getPoolMaxWaiters ()
void setPoolMaxWaiters (int val)
int getPoolMaxWaittime ()
void setPoolMaxWaittime (int val)
int getPoolSamplingPeriod ()
void setPoolSamplingPeriod (int val)
int getPstmtMax ()
void setPstmtMax (int val)
int getJdbcConnLevel ()
void setJdbcConnLevel (int val)
String getJdbcConnTestStmt ()
void setJdbcConnTestStmt (String val)
String toString ()

Static Package Attributes

final int SECS_PER_MIN = 60
final int INIT_PSTMT_SIZE = 10
final int INIT_SAMPLING_TIME = 30

Detailed Description

Author:
Eric Hardesty Contributor(s):

Definition at line 33 of file ConnectionManagerPoolParams.java.


Constructor & Destructor Documentation

org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams  ) 
 

Default Constructor

Definition at line 101 of file ConnectionManagerPoolParams.java.

org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams ConnectionManagerPoolParams  cmpp  ) 
 

Constructor to build new object based on another set of pool params

Parameters:
cmpp ConnectionManagerPoolParams to initialize this object with

Definition at line 108 of file ConnectionManagerPoolParams.java.

References org.objectweb.jonas.resource.ConnectionManagerPoolParams.getJdbcConnLevel(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getJdbcConnTestStmt(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolInit(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMax(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxAge(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxAgeMinutes(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxOpentime(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxWaiters(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxWaittime(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMin(), org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolSamplingPeriod(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPstmtMax().

Here is the call graph for this function:


Member Function Documentation

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getJdbcConnLevel  ) 
 

Return the JDBC connection level

Returns:
int JDBC connection level

Definition at line 276 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

String org.objectweb.jonas.resource.ConnectionManagerPoolParams.getJdbcConnTestStmt  ) 
 

Return the JDBC connection test SQL string

Returns:
String JDBC connection test SQL string

Definition at line 291 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolInit  ) 
 

Return the pool init size

Returns:
int initial size of the pool

Definition at line 126 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMax  ) 
 

Return the pool maximum size

Returns:
int maximum size of the pool

Definition at line 156 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

long org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxAge  ) 
 

Return the pool maximum age in seconds

Returns:
long maximum age of a connection in the pool

Definition at line 171 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxAgeMinutes  ) 
 

Return the pool maximum age in minutes

Returns:
int maximum age of a connection in the pool

Definition at line 186 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxOpentime  ) 
 

Return the pool maximum open time in minutes

Returns:
int maximum open time of a connection in the pool

Definition at line 201 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxWaiters  ) 
 

Return the pool maximum waiters size

Returns:
int maximum waiters of the pool

Definition at line 216 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMaxWaittime  ) 
 

Return the pool maximum waiter time

Returns:
int maximum waiter time of the pool

Definition at line 231 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolMin  ) 
 

Return the pool min size

Returns:
int minimum size of the pool

Definition at line 141 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPoolSamplingPeriod  ) 
 

Return the pool sampling period

Returns:
int pool sampling period

Definition at line 246 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

int org.objectweb.jonas.resource.ConnectionManagerPoolParams.getPstmtMax  ) 
 

Return the maximum PreparedStatement cache

Returns:
int maximum PreparedStatement cache

Definition at line 261 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams(), and org.objectweb.jonas.resource.ConnectionManagerPoolParams.ConnectionManagerPoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setJdbcConnLevel int  val  ) 
 

Set the JDBC connection level

Parameters:
val JDBC connection level

Definition at line 283 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setJdbcConnTestStmt String  val  ) 
 

Set the JDBC connection test SQL string

Parameters:
val JDBC connection test SQL string

Definition at line 298 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolInit int  val  ) 
 

Set the pool init size

Parameters:
val pool initial size

Definition at line 133 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMax int  val  ) 
 

Set the pool maximum size

Parameters:
val pool maximum size

Definition at line 163 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMaxAge long  val  ) 
 

Set the pool maximum age value

Parameters:
val pool maximum age value

Definition at line 178 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMaxAgeMinutes int  val  ) 
 

Set the pool maximum age value

Parameters:
val pool maximum age value

Definition at line 193 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMaxOpentime int  val  ) 
 

Set the pool maximum open time value

Parameters:
val pool maximum open time value

Definition at line 208 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMaxWaiters int  val  ) 
 

Set the pool maximum waiters size

Parameters:
val pool maximum waiters size

Definition at line 223 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMaxWaittime int  val  ) 
 

Set the pool maximum waiter time

Parameters:
val pool maximum waiters time

Definition at line 238 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolMin int  val  ) 
 

Set the pool minimum size

Parameters:
val pool minimum size

Definition at line 148 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPoolSamplingPeriod int  val  ) 
 

Set the pool sampling period

Parameters:
val pool sampling period

Definition at line 253 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

void org.objectweb.jonas.resource.ConnectionManagerPoolParams.setPstmtMax int  val  ) 
 

Set the maximum PreparedStatement cache

Parameters:
val maximum PreparedStatement cache

Definition at line 268 of file ConnectionManagerPoolParams.java.

Referenced by org.objectweb.jonas.resource.ResourceUtility.configurePoolParams().

String org.objectweb.jonas.resource.ConnectionManagerPoolParams.toString  ) 
 

Output pool information

Returns:
String representing the pool

Definition at line 306 of file ConnectionManagerPoolParams.java.


Member Data Documentation

final int org.objectweb.jonas.resource.ConnectionManagerPoolParams.INIT_PSTMT_SIZE = 10 [static, package]
 

The default pstmts per ManagedConnection.

Definition at line 42 of file ConnectionManagerPoolParams.java.

final int org.objectweb.jonas.resource.ConnectionManagerPoolParams.INIT_SAMPLING_TIME = 30 [static, package]
 

The default sampling time of the pool

Definition at line 46 of file ConnectionManagerPoolParams.java.

final int org.objectweb.jonas.resource.ConnectionManagerPoolParams.SECS_PER_MIN = 60 [static, package]
 

The number of seconds per minute

Definition at line 38 of file ConnectionManagerPoolParams.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:20 2005 for JOnAS by  doxygen 1.3.9.1