Java org.apache.commons.dbcp.cpdsadapter DriverAdapterCPDS fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.dbcp.cpdsadapter DriverAdapterCPDS fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.dbcp.cpdsadapter DriverAdapterCPDS.

The text is from its open source code.

Constructor

DriverAdapterCPDS()
Default no-arg constructor for Serialization

Method

StringgetDescription()
Get the value of description.
StringgetDriver()
Get the driver classname.
intgetLoginTimeout()
Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
intgetMaxActive()
The maximum number of active statements that can be allocated from this pool at the same time, or non-positive for no limit.
intgetMaxIdle()
The maximum number of statements that can remain idle in the pool, without extra ones being released, or negative for no limit.
intgetMaxPreparedStatements()
Returns the maximun number of prepared statements.
intgetMinEvictableIdleTimeMillis()
Returns the minimum amount of time a statement may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).
intgetNumTestsPerEvictionRun()
Returns the number of statements to examine during each run of the idle object evictor thread (if any).
StringgetPassword()
Get the value of password for the default user.
intgetTimeBetweenEvictionRunsMillis()
Returns the number of milliseconds to sleep between runs of the idle object evictor thread.
StringgetUrl()
Get the value of url used to locate the database for this datasource.
StringgetUser()
Get the value of default user (login or username).
booleanisPoolPreparedStatements()
Flag to toggle the pooling of PreparedStatements
voidsetDriver(String v)
Set the driver classname.
voidsetMaxActive(int maxActive)
The maximum number of active statements that can be allocated from this pool at the same time, or non-positive for no limit.
voidsetMaxIdle(int maxIdle)
The maximum number of statements that can remain idle in the pool, without extra ones being released, or negative for no limit.
voidsetPassword(String v)
Set the value of password for the default user.
voidsetPoolPreparedStatements(boolean v)
Flag to toggle the pooling of PreparedStatements
voidsetUrl(String v)
Set the value of url used to locate the database for this datasource.
voidsetUser(String v)
Set the value of default user (login or username).