|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.resource.internal.cm.ConnectionManagerPoolParams
public class ConnectionManagerPoolParams
| Constructor Summary | |
|---|---|
ConnectionManagerPoolParams()
Default Constructor |
|
ConnectionManagerPoolParams(ConnectionManagerPoolParams cmpp)
Constructor to build new object based on another set of pool params |
|
| Method Summary | |
|---|---|
int |
getJdbcConnLevel()
Return the JDBC connection level |
String |
getJdbcConnTestStmt()
Return the JDBC connection test SQL string |
int |
getPoolInit()
Return the pool init size |
int |
getPoolMax()
Return the pool maximum size |
long |
getPoolMaxAge()
Return the pool maximum age in seconds |
int |
getPoolMaxAgeMinutes()
Return the pool maximum age in minutes |
int |
getPoolMaxOpentime()
Return the pool maximum open time in minutes |
int |
getPoolMaxWaiters()
Return the pool maximum waiters size |
int |
getPoolMaxWaittime()
Return the pool maximum waiter time |
int |
getPoolMin()
Return the pool min size |
int |
getPoolSamplingPeriod()
Return the pool sampling period |
String |
getPstmtCachePolicy()
Return the cache policy of PreparedStatement cache |
int |
getPstmtMax()
Return the maximum PreparedStatement cache |
boolean |
isJdbcConnSetUp()
|
void |
setJdbcConnLevel(int val)
Set the JDBC connection level |
void |
setJdbcConnSetUp(boolean val)
|
void |
setJdbcConnTestStmt(String val)
Set the JDBC connection test SQL string |
void |
setPoolInit(int val)
Set the pool init size |
void |
setPoolMax(int val)
Set the pool maximum size |
void |
setPoolMaxAge(long val)
Set the pool maximum age value |
void |
setPoolMaxAgeMinutes(int val)
Set the pool maximum age value |
void |
setPoolMaxOpentime(int val)
Set the pool maximum open time value |
void |
setPoolMaxWaiters(int val)
Set the pool maximum waiters size |
void |
setPoolMaxWaittime(int val)
Set the pool maximum waiter time |
void |
setPoolMin(int val)
Set the pool minimum size |
void |
setPoolSamplingPeriod(int val)
Set the pool sampling period |
void |
setPstmtCachePolicy(String val)
Set the PreparedStatement cache policy |
void |
setPstmtMax(int val)
Set the maximum PreparedStatement cache |
String |
toString()
Output pool information |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionManagerPoolParams()
public ConnectionManagerPoolParams(ConnectionManagerPoolParams cmpp)
cmpp - ConnectionManagerPoolParams to initialize this object with| Method Detail |
|---|
public int getPoolInit()
public void setPoolInit(int val)
val - pool initial sizepublic int getPoolMin()
public void setPoolMin(int val)
val - pool minimum sizepublic int getPoolMax()
public void setPoolMax(int val)
val - pool maximum sizepublic long getPoolMaxAge()
public void setPoolMaxAge(long val)
val - pool maximum age valuepublic int getPoolMaxAgeMinutes()
public void setPoolMaxAgeMinutes(int val)
val - pool maximum age valuepublic int getPoolMaxOpentime()
public void setPoolMaxOpentime(int val)
val - pool maximum open time valuepublic int getPoolMaxWaiters()
public void setPoolMaxWaiters(int val)
val - pool maximum waiters sizepublic int getPoolMaxWaittime()
public void setPoolMaxWaittime(int val)
val - pool maximum waiters timepublic int getPoolSamplingPeriod()
public void setPoolSamplingPeriod(int val)
val - pool sampling periodpublic int getPstmtMax()
public void setPstmtMax(int val)
val - maximum PreparedStatement cachepublic String getPstmtCachePolicy()
public void setPstmtCachePolicy(String val)
val - PreparedStatement cache policypublic int getJdbcConnLevel()
public void setJdbcConnLevel(int val)
val - JDBC connection levelpublic String getJdbcConnTestStmt()
public void setJdbcConnTestStmt(String val)
val - JDBC connection test SQL stringpublic boolean isJdbcConnSetUp()
public void setJdbcConnSetUp(boolean val)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||