Interface DruidDataSourceMBean

All Superinterfaces:
DruidAbstractDataSourceMBean
All Known Implementing Classes:
DruidDataSource, DruidQuartzConnectionProvider, DruidXADataSource

public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean
Author:
wenshao [[email protected]]
  • Method Details

    • getResetCount

      long getResetCount()
    • isEnable

      boolean isEnable()
    • getUrl

      String getUrl()
      Specified by:
      getUrl in interface DruidAbstractDataSourceMBean
    • shrink

      void shrink()
    • removeAbandoned

      int removeAbandoned()
    • dump

      String dump()
    • getWaitThreadCount

      int getWaitThreadCount()
    • getLockQueueLength

      int getLockQueueLength()
    • getNotEmptyWaitCount

      long getNotEmptyWaitCount()
    • getNotEmptyWaitThreadCount

      int getNotEmptyWaitThreadCount()
    • getNotEmptySignalCount

      long getNotEmptySignalCount()
    • getNotEmptyWaitMillis

      long getNotEmptyWaitMillis()
    • getNotEmptyWaitNanos

      long getNotEmptyWaitNanos()
    • resetStat

      void resetStat()
    • isResetStatEnable

      boolean isResetStatEnable()
    • setResetStatEnable

      void setResetStatEnable(boolean resetStatEnable)
    • getVersion

      String getVersion()
    • setPoolPreparedStatements

      void setPoolPreparedStatements(boolean poolPreparedStatements)
    • getActivePeak

      int getActivePeak()
    • getPoolingPeak

      int getPoolingPeak()
    • getActivePeakTime

      Date getActivePeakTime()
    • getPoolingPeakTime

      Date getPoolingPeakTime()
    • getErrorCount

      long getErrorCount()
    • getObjectName

      ObjectName getObjectName()
    • clearStatementCache

      void clearStatementCache() throws SQLException
      Throws:
      SQLException
    • getDiscardCount

      long getDiscardCount()
    • setStatLoggerClassName

      void setStatLoggerClassName(String className)
    • getTimeBetweenLogStatsMillis

      long getTimeBetweenLogStatsMillis()
    • setTimeBetweenLogStatsMillis

      void setTimeBetweenLogStatsMillis(long timeBetweenLogStatsMillis)
    • setConnectionProperties

      void setConnectionProperties(String connectionProperties)
    • fill

      int fill() throws SQLException
      Throws:
      SQLException
    • fill

      int fill(int toCount) throws SQLException
      Throws:
      SQLException
    • isUseGlobalDataSourceStat

      boolean isUseGlobalDataSourceStat()