Class DataSourceWithMetrics
java.lang.Object
ru.cg.webbpm.modules.database.api.metrics.DataSourceProxy
ru.cg.webbpm.modules.database.api.metrics.DataSourceWithMetrics
- All Implemented Interfaces:
Wrapper
,CommonDataSource
,DataSource
- Author:
- Tim Urmancheev
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceWithMetrics
(DataSource delegate, String dbName, ru.fix.aggregating.profiler.Profiler prefixedProfiler, ExecutionContextHelper executionContextHelper) -
Method Summary
Methods inherited from class ru.cg.webbpm.modules.database.api.metrics.DataSourceProxy
getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
DataSourceWithMetrics
public DataSourceWithMetrics(DataSource delegate, String dbName, ru.fix.aggregating.profiler.Profiler prefixedProfiler, ExecutionContextHelper executionContextHelper)
-
-
Method Details
-
getConnection
- Specified by:
getConnection
in interfaceDataSource
- Overrides:
getConnection
in classDataSourceProxy
- Throws:
SQLException
-
getConnection
- Specified by:
getConnection
in interfaceDataSource
- Overrides:
getConnection
in classDataSourceProxy
- Throws:
SQLException
-