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 JdbcStatementStatMBean
public int getRunningCount()
getRunningCount
in interface JdbcStatementStatMBean
public int getConcurrentMax()
getConcurrentMax
in interface JdbcStatementStatMBean
public long getExecuteCount()
getExecuteCount
in interface JdbcStatementStatMBean
public Date getExecuteLastTime()
getExecuteLastTime
in interface JdbcStatementStatMBean
public long getNanoTotal()
public long getMillisTotal()
public Throwable getLastException()
public Date getLastErrorTime()
getLastErrorTime
in interface JdbcStatementStatMBean
public void error(Throwable error)
public long getCloseCount()
getCloseCount
in interface JdbcStatementStatMBean
public long getCreateCount()
getCreateCount
in interface JdbcStatementStatMBean
public long getExecuteMillisTotal()
getExecuteMillisTotal
in interface JdbcStatementStatMBean
public long getPrepareCallCount()
getPrepareCallCount
in interface JdbcStatementStatMBean
public long getPrepareCount()
getPrepareCount
in interface JdbcStatementStatMBean
public long getExecuteSuccessCount()
getExecuteSuccessCount
in interface JdbcStatementStatMBean
public CompositeData getLastError() throws JMException
getLastError
in interface JdbcStatementStatMBean
JMException
public void incrementCreateCounter()
public void incrementPrepareCallCount()
public void incrementPrepareCounter()
public void incrementStatementCloseCounter()
Copyright © 2013–2017 Alibaba Group. All rights reserved.