com.liferay.portal.dao.jdbc.pool.metrics
Class BaseConnectionPoolMetrics
java.lang.Object
com.liferay.portal.dao.jdbc.pool.metrics.BaseConnectionPoolMetrics
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics
- Direct Known Subclasses:
- C3P0ConnectionPoolMetrics, DBCPConnectionPoolMetrics, HikariConnectionPoolMetrics, TomcatConnectionPoolMetrics
public abstract class BaseConnectionPoolMetrics
- extends Object
- implements com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics |
getNumActive, getNumIdle |
BaseConnectionPoolMetrics
public BaseConnectionPoolMetrics()
getConnectionPoolName
public String getConnectionPoolName()
- Specified by:
getConnectionPoolName
in interface com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics
getDataSource
protected abstract Object getDataSource()
getPoolName
protected abstract String getPoolName()
initializeConnectionPool
protected void initializeConnectionPool()