com.alibaba.druid.stat
类 JdbcConnectionStat

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

public class JdbcConnectionStat
extends Object
implements JdbcConnectionStatMBean

作者:
wenshao

嵌套类摘要
static class JdbcConnectionStat.Entry
           
static interface JdbcConnectionStat.EntryMBean
           
 
构造方法摘要
JdbcConnectionStat()
           
 
方法摘要
 void afterClose(long aliveNano)
           
 void afterConnected(long delta)
           
 void beforeConnect()
           
 void connectError(Throwable error)
           
 void error(Throwable error)
           
 int getActiveCount()
           
 int getActiveMax()
           
 long getAliveMillisMax()
           
 long getAliveMillisMin()
           
 long getAliveNanoMax()
           
 long getAliveNanoMin()
           
 long getAliveTotal()
           
 int getAtiveCountMax()
           
 long getCloseCount()
           
 long getCommitCount()
           
 long getConnectCount()
           
 long getConnectErrorCount()
           
 Throwable getConnectErrorLast()
           
 int getConnectingCount()
           
 int getConnectingMax()
           
 Date getConnectLastTime()
           
 long getConnectMillis()
           
 long getConnectMillisMax()
           
 long getConnectNanoMax()
           
 long getErrorCount()
           
 Throwable getErrorLast()
           
 Date getErrorLastTime()
           
 long[] getHistogramRanges()
           
 long[] getHistorgramValues()
           
 long getRollbackCount()
           
 long getTransactionStartCount()
           
 void incrementConnectionCloseCount()
           
 void incrementConnectionCommitCount()
           
 void incrementConnectionRollbackCount()
           
 void incrementTransactionStartCount()
           
 void reset()
           
 void setActiveCount(int activeCount)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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-2014 Alibaba Group. All Rights Reserved.