public class JdbcStatementStat extends Object implements JdbcStatementStatMBean
| Constructor and Description |
|---|
JdbcStatementStat() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(long nanoSpan) |
void |
beforeExecute() |
void |
error(Throwable error) |
long |
getCloseCount() |
int |
getConcurrentMax() |
long |
getCreateCount() |
long |
getErrorCount() |
long |
getExecuteCount() |
Date |
getExecuteLastTime() |
long |
getExecuteMillisTotal() |
long |
getExecuteSuccessCount() |
long[] |
getHistogramRanges() |
long[] |
getHistogramValues() |
CompositeData |
getLastError() |
Date |
getLastErrorTime() |
Throwable |
getLastException() |
long |
getMillisTotal() |
long |
getNanoTotal() |
long |
getPrepareCallCount() |
long |
getPrepareCount() |
int |
getRunningCount() |
void |
incrementCreateCounter() |
void |
incrementPrepareCallCount() |
void |
incrementPrepareCounter() |
void |
incrementStatementCloseCounter() |
void |
reset() |
public long[] getHistogramRanges()
public long[] getHistogramValues()
public void reset()
public void afterExecute(long nanoSpan)
public void beforeExecute()
public long getErrorCount()
getErrorCount in interface JdbcStatementStatMBeanpublic int getRunningCount()
getRunningCount in interface JdbcStatementStatMBeanpublic int getConcurrentMax()
getConcurrentMax in interface JdbcStatementStatMBeanpublic long getExecuteCount()
getExecuteCount in interface JdbcStatementStatMBeanpublic Date getExecuteLastTime()
getExecuteLastTime in interface JdbcStatementStatMBeanpublic long getNanoTotal()
public long getMillisTotal()
public Throwable getLastException()
public Date getLastErrorTime()
getLastErrorTime in interface JdbcStatementStatMBeanpublic void error(Throwable error)
public long getCloseCount()
getCloseCount in interface JdbcStatementStatMBeanpublic long getCreateCount()
getCreateCount in interface JdbcStatementStatMBeanpublic long getExecuteMillisTotal()
getExecuteMillisTotal in interface JdbcStatementStatMBeanpublic long getPrepareCallCount()
getPrepareCallCount in interface JdbcStatementStatMBeanpublic long getPrepareCount()
getPrepareCount in interface JdbcStatementStatMBeanpublic long getExecuteSuccessCount()
getExecuteSuccessCount in interface JdbcStatementStatMBeanpublic CompositeData getLastError() throws JMException
getLastError in interface JdbcStatementStatMBeanJMExceptionpublic void incrementCreateCounter()
public void incrementPrepareCallCount()
public void incrementPrepareCounter()
public void incrementStatementCloseCounter()
Copyright © 2013–2018 Alibaba Group. All rights reserved.