|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.idms.jdbc.IdmsCommonDataSource ca.idms.jdbc.IdmsCommonPoolDataSource
public class IdmsCommonPoolDataSource
This class contains additional properties for connection pools.
Connection pool implementations typically provide equivalent properties and may not use these properties.
Field Summary |
---|
Fields inherited from class ca.idms.jdbc.IdmsCommonDataSource |
---|
CCI, IDMS, TCP |
Fields inherited from interface ca.idms.jdbc.IdmsDriverInterface |
---|
ACCOUNT, BATCH, CCIHOST, CCIPORT, CSUSPEND, CUSTOM, DEF_CCIPORT, DEF_TASK, DEFSCHEM, EWAIT, INFO, INTERACTIVE, NODE, PASSWORD, PROGRAM, RSINT, SBUFLEN, SERVICE, SSL, STRACE, SUSPEND, TASK, USER, VIA |
Constructor Summary | |
---|---|
IdmsCommonPoolDataSource()
Creates an IdmsConnectionPoolDataSource object. |
Method Summary | |
---|---|
int |
getInitialPoolSize()
Gets the initialPoolSize property for this data source. |
int |
getMaxIdleTime()
Gets the maxIdleTime property for this data source. |
int |
getMaxPoolSize()
Gets the maxPoolSize property for this data source. |
int |
getMaxStatements()
Gets the maxStatements property for this data source. |
int |
getMinPoolSize()
Gets the minPoolSize property for this data source. |
int |
getPropertyCycle()
Gets the propertyCycle property for this data source. |
void |
list(TraceOutput out)
Lists the data source properties. |
void |
setInitialPoolSize(int p)
Sets the initialPoolSize property for this data source. |
void |
setMaxIdleTime(int p)
Sets the maxIdleTime property for this data source. |
void |
setMaxPoolSize(int p)
Sets the maxPoolSize property for this data source. |
void |
setMaxStatements(int p)
Sets the maxStatements property for this data source. |
void |
setMinPoolSize(int p)
Sets the minPoolSize property for this data source. |
void |
setPropertyCycle(int p)
Sets the propertyCycle property for this data source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdmsCommonPoolDataSource()
IdmsCommonDataSource.setConnectSuspend(boolean)
Method Detail |
---|
public void setMaxStatements(int p)
p
- the maximum statement pool size, ignoredpublic int getMaxStatements()
setMaxStatements(int)
public void setInitialPoolSize(int p)
p
- the initial connection pool sizepublic int getInitialPoolSize()
setInitialPoolSize(int)
public void setMinPoolSize(int p)
p
- the minimum connection pool sizepublic int getMinPoolSize()
setMinPoolSize(int)
public void setMaxPoolSize(int p)
p
- the maximum connection pool sizepublic int getMaxPoolSize()
setMaxPoolSize(int)
public void setMaxIdleTime(int p)
resourceInterval
to the value specified plus twice the
propertyCycle
value.
p
- the interval in secondspublic int getMaxIdleTime()
setMaxIdleTime(int)
public void setPropertyCycle(int p)
resourceInterval
.
p
- the interval in secondssetMaxIdleTime(int)
public int getPropertyCycle()
setPropertyCycle(int)
public void list(TraceOutput out)
list
in class IdmsCommonDataSource
out
- the trace output logIdmsCommonDataSource.list(TraceOutput)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |