Class PooledDataSource
java.lang.Object
org.smallmind.persistence.sql.pool.AbstractPooledDataSource<DataSource,PooledConnection>
org.smallmind.persistence.sql.pool.PooledDataSource
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource
public class PooledDataSource
extends AbstractPooledDataSource<DataSource,PooledConnection>
implements DataSource
-
Constructor Summary
ConstructorsConstructorDescriptionPooledDataSource(String key, ComponentPool<PooledConnection> componentPool) PooledDataSource(ComponentPool<PooledConnection> componentPool) -
Method Summary
Methods inherited from class org.smallmind.persistence.sql.pool.AbstractPooledDataSource
getDataSourceClass, getLoginTimeout, getLogWriter, getParentLogger, getPooledConnectionClass, isWrapperFor, setLoginTimeout, setLogWriter, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLoggerMethods inherited from interface javax.sql.DataSource
createConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
PooledDataSource
-
PooledDataSource
-
-
Method Details
-
register
public void register() -
getKey
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfaceDataSource
-
getExistentialStackTraces
-
killAllProcessing
public void killAllProcessing() -
startup
- Specified by:
startupin classAbstractPooledDataSource<DataSource,PooledConnection> - Throws:
ComponentPoolException
-
shutdown
- Specified by:
shutdownin classAbstractPooledDataSource<DataSource,PooledConnection> - Throws:
ComponentPoolException
-