com.alibaba.druid.stat
类 JdbcStatementStat

java.lang.Object
  继承者 com.alibaba.druid.stat.JdbcStatementStat
所有已实现的接口:
JdbcStatementStatMBean

public class JdbcStatementStat
extends Object
implements JdbcStatementStatMBean


构造方法摘要
JdbcStatementStat()
           
 
方法摘要
 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()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JdbcStatementStat

public JdbcStatementStat()
方法详细信息

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()
指定者:
接口 JdbcStatementStatMBean 中的 getErrorCount

getRunningCount

public int getRunningCount()
指定者:
接口 JdbcStatementStatMBean 中的 getRunningCount

getConcurrentMax

public int getConcurrentMax()
指定者:
接口 JdbcStatementStatMBean 中的 getConcurrentMax

getExecuteCount

public long getExecuteCount()
指定者:
接口 JdbcStatementStatMBean 中的 getExecuteCount

getExecuteLastTime

public Date getExecuteLastTime()
指定者:
接口 JdbcStatementStatMBean 中的 getExecuteLastTime

getNanoTotal

public long getNanoTotal()

getMillisTotal

public long getMillisTotal()

getLastException

public Throwable getLastException()

getLastErrorTime

public Date getLastErrorTime()
指定者:
接口 JdbcStatementStatMBean 中的 getLastErrorTime

error

public void error(Throwable error)

getCloseCount

public long getCloseCount()
指定者:
接口 JdbcStatementStatMBean 中的 getCloseCount

getCreateCount

public long getCreateCount()
指定者:
接口 JdbcStatementStatMBean 中的 getCreateCount

getExecuteMillisTotal

public long getExecuteMillisTotal()
指定者:
接口 JdbcStatementStatMBean 中的 getExecuteMillisTotal

getPrepareCallCount

public long getPrepareCallCount()
指定者:
接口 JdbcStatementStatMBean 中的 getPrepareCallCount

getPrepareCount

public long getPrepareCount()
指定者:
接口 JdbcStatementStatMBean 中的 getPrepareCount

getExecuteSuccessCount

public long getExecuteSuccessCount()
指定者:
接口 JdbcStatementStatMBean 中的 getExecuteSuccessCount

getLastError

public CompositeData getLastError()
                           throws JMException
指定者:
接口 JdbcStatementStatMBean 中的 getLastError
抛出:
JMException

incrementCreateCounter

public void incrementCreateCounter()

incrementPrepareCallCount

public void incrementPrepareCallCount()

incrementPrepareCounter

public void incrementPrepareCounter()

incrementStatementCloseCounter

public void incrementStatementCloseCounter()


Copyright © 2013 Alibaba Group. All Rights Reserved.