Java org.apache.ibatis.datasource.pooled PooledDataSource fields, constructors, methods, implement or subclass

Example usage for Java org.apache.ibatis.datasource.pooled PooledDataSource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.ibatis.datasource.pooled PooledDataSource.

The text is from its open source code.

Subclass

org.apache.ibatis.datasource.pooled.PooledDataSource has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidforceCloseAll()
Closes all active and idle connections in the pool.
ConnectiongetConnection()
StringgetDriver()
PropertiesgetDriverProperties()
intgetLoginTimeout()
StringgetPassword()
intgetPoolMaximumActiveConnections()
intgetPoolMaximumCheckoutTime()
intgetPoolMaximumIdleConnections()
intgetPoolPingConnectionsNotUsedFor()
StringgetPoolPingQuery()
PoolStategetPoolState()
intgetPoolTimeToWait()
StringgetUrl()
StringgetUsername()
booleanisAutoCommit()
booleanisPoolPingEnabled()
voidsetDefaultAutoCommit(boolean defaultAutoCommit)
voidsetDefaultTransactionIsolationLevel(Integer defaultTransactionIsolationLevel)
voidsetDriver(String driver)
voidsetPassword(String password)
voidsetPoolMaximumActiveConnections(int poolMaximumActiveConnections)
The maximum number of active connections.
voidsetPoolMaximumCheckoutTime(int poolMaximumCheckoutTime)
The maximum time a connection can be used before it *may* be given away again.
voidsetPoolMaximumIdleConnections(int poolMaximumIdleConnections)
The maximum number of idle connections.
voidsetPoolPingConnectionsNotUsedFor(int milliseconds)
If a connection has not been used in this many milliseconds, ping the database to make sure the connection is still good.
voidsetPoolPingEnabled(boolean poolPingEnabled)
Determines if the ping query should be used.
voidsetPoolPingQuery(String poolPingQuery)
The query to be used to check a connection.
voidsetPoolTimeToWait(int poolTimeToWait)
The time to wait before retrying to get a connection.
voidsetUrl(String url)
voidsetUsername(String username)