Package com.alibaba.druid.stat
Class JdbcStatementStat
java.lang.Object
com.alibaba.druid.stat.JdbcStatementStat
- All Implemented Interfaces:
JdbcStatementStatMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExecute(long nanoSpan) voidvoidlongintlonglonglonglonglonglong[]long[]longlonglonglongintvoidvoidvoidvoidvoidreset()
-
Constructor Details
-
JdbcStatementStat
public JdbcStatementStat()
-
-
Method Details
-
getHistogramRanges
public long[] getHistogramRanges() -
getHistogramValues
public long[] getHistogramValues() -
reset
public void reset() -
afterExecute
public void afterExecute(long nanoSpan) -
beforeExecute
public void beforeExecute() -
getErrorCount
public long getErrorCount()- Specified by:
getErrorCountin interfaceJdbcStatementStatMBean
-
getRunningCount
public int getRunningCount()- Specified by:
getRunningCountin interfaceJdbcStatementStatMBean
-
getConcurrentMax
public int getConcurrentMax()- Specified by:
getConcurrentMaxin interfaceJdbcStatementStatMBean
-
getExecuteCount
public long getExecuteCount()- Specified by:
getExecuteCountin interfaceJdbcStatementStatMBean
-
getExecuteLastTime
- Specified by:
getExecuteLastTimein interfaceJdbcStatementStatMBean
-
getNanoTotal
public long getNanoTotal() -
getMillisTotal
public long getMillisTotal() -
getLastException
-
getLastErrorTime
- Specified by:
getLastErrorTimein interfaceJdbcStatementStatMBean
-
error
-
getCloseCount
public long getCloseCount()- Specified by:
getCloseCountin interfaceJdbcStatementStatMBean
-
getCreateCount
public long getCreateCount()- Specified by:
getCreateCountin interfaceJdbcStatementStatMBean
-
getExecuteMillisTotal
public long getExecuteMillisTotal()- Specified by:
getExecuteMillisTotalin interfaceJdbcStatementStatMBean
-
getPrepareCallCount
public long getPrepareCallCount()- Specified by:
getPrepareCallCountin interfaceJdbcStatementStatMBean
-
getPrepareCount
public long getPrepareCount()- Specified by:
getPrepareCountin interfaceJdbcStatementStatMBean
-
getExecuteSuccessCount
public long getExecuteSuccessCount()- Specified by:
getExecuteSuccessCountin interfaceJdbcStatementStatMBean
-
getLastError
- Specified by:
getLastErrorin interfaceJdbcStatementStatMBean- Throws:
JMException
-
incrementCreateCounter
public void incrementCreateCounter() -
incrementPrepareCallCount
public void incrementPrepareCallCount() -
incrementPrepareCounter
public void incrementPrepareCounter() -
incrementStatementCloseCounter
public void incrementStatementCloseCounter()
-