com.alibaba.druid.stat
类 JdbcConnectionStat
java.lang.Object
com.alibaba.druid.stat.JdbcConnectionStat
- 所有已实现的接口:
- JdbcConnectionStatMBean
public class JdbcConnectionStat
- extends Object
- implements JdbcConnectionStatMBean
- 作者:
- wenshao
JdbcConnectionStat
public JdbcConnectionStat()
reset
public void reset()
beforeConnect
public void beforeConnect()
afterConnected
public void afterConnected(long delta)
getConnectNanoMax
public long getConnectNanoMax()
getConnectMillisMax
public long getConnectMillisMax()
setActiveCount
public void setActiveCount(int activeCount)
getActiveCount
public int getActiveCount()
getAtiveCountMax
public int getAtiveCountMax()
getErrorCount
public long getErrorCount()
getConnectingCount
public int getConnectingCount()
getConnectingMax
public int getConnectingMax()
getAliveTotal
public long getAliveTotal()
getAliveNanoMin
public long getAliveNanoMin()
getAliveMillisMin
public long getAliveMillisMin()
getAliveNanoMax
public long getAliveNanoMax()
getAliveMillisMax
public long getAliveMillisMax()
afterClose
public void afterClose(long aliveNano)
getErrorLast
public Throwable getErrorLast()
getConnectErrorLast
public Throwable getConnectErrorLast()
getErrorLastTime
public Date getErrorLastTime()
connectError
public void connectError(Throwable error)
error
public void error(Throwable error)
getCloseCount
public long getCloseCount()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getCloseCount
getCommitCount
public long getCommitCount()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getCommitCount
getConnectCount
public long getConnectCount()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getConnectCount
getConnectMillis
public long getConnectMillis()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getConnectMillis
getActiveMax
public int getActiveMax()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getActiveMax
getRollbackCount
public long getRollbackCount()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getRollbackCount
getConnectErrorCount
public long getConnectErrorCount()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getConnectErrorCount
getConnectLastTime
public Date getConnectLastTime()
- 指定者:
- 接口
JdbcConnectionStatMBean 中的 getConnectLastTime
incrementConnectionCloseCount
public void incrementConnectionCloseCount()
incrementConnectionCommitCount
public void incrementConnectionCommitCount()
incrementConnectionRollbackCount
public void incrementConnectionRollbackCount()
incrementTransactionStartCount
public void incrementTransactionStartCount()
getTransactionStartCount
public long getTransactionStartCount()
getHistorgramValues
public long[] getHistorgramValues()
getHistogramRanges
public long[] getHistogramRanges()
Copyright © 2013 Alibaba Group. All Rights Reserved.