Package ca.uhn.fhir.jpa.config.util
Class BasicDataSourceConnectionPoolInfoProvider
java.lang.Object
ca.uhn.fhir.jpa.config.util.BasicDataSourceConnectionPoolInfoProvider
- All Implemented Interfaces:
IConnectionPoolInfoProvider
public class BasicDataSourceConnectionPoolInfoProvider
extends Object
implements IConnectionPoolInfoProvider
Utility class to hide the complexities of obtaining ConnectionPool information
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBasicDataSourceConnectionPoolInfoProvider
(org.apache.commons.dbcp2.BasicDataSource theDataSource) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
myDataSource
-
-
Constructor Details
-
BasicDataSourceConnectionPoolInfoProvider
public BasicDataSourceConnectionPoolInfoProvider(org.apache.commons.dbcp2.BasicDataSource theDataSource)
-
-
Method Details
-
getTotalConnectionSize
- Specified by:
getTotalConnectionSize
in interfaceIConnectionPoolInfoProvider
-
getActiveConnections
- Specified by:
getActiveConnections
in interfaceIConnectionPoolInfoProvider
-
getMaxWaitMillis
- Specified by:
getMaxWaitMillis
in interfaceIConnectionPoolInfoProvider
-