public class JdbcConnectionStat extends Object implements JdbcConnectionStatMBean
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JdbcConnectionStat.Entry |
static interface |
JdbcConnectionStat.EntryMBean |
| 构造器和说明 |
|---|
JdbcConnectionStat() |
public void reset()
public void beforeConnect()
public void afterConnected(long delta)
public long getConnectNanoMax()
public long getConnectMillisMax()
public void setActiveCount(int activeCount)
public int getActiveCount()
public int getAtiveCountMax()
public long getErrorCount()
public int getConnectingCount()
public int getConnectingMax()
public long getAliveTotal()
public long getAliveNanoMin()
public long getAliveMillisMin()
public long getAliveNanoMax()
public long getAliveMillisMax()
public void afterClose(long aliveNano)
public Throwable getErrorLast()
public Throwable getConnectErrorLast()
public Date getErrorLastTime()
public void connectError(Throwable error)
public void error(Throwable error)
public long getCloseCount()
getCloseCount 在接口中 JdbcConnectionStatMBeanpublic long getCommitCount()
getCommitCount 在接口中 JdbcConnectionStatMBeanpublic long getConnectCount()
getConnectCount 在接口中 JdbcConnectionStatMBeanpublic long getConnectMillis()
getConnectMillis 在接口中 JdbcConnectionStatMBeanpublic int getActiveMax()
getActiveMax 在接口中 JdbcConnectionStatMBeanpublic long getRollbackCount()
getRollbackCount 在接口中 JdbcConnectionStatMBeanpublic long getConnectErrorCount()
getConnectErrorCount 在接口中 JdbcConnectionStatMBeanpublic Date getConnectLastTime()
getConnectLastTime 在接口中 JdbcConnectionStatMBeanpublic void incrementConnectionCloseCount()
public void incrementConnectionCommitCount()
public void incrementConnectionRollbackCount()
public void incrementTransactionStartCount()
public long getTransactionStartCount()
public long[] getHistorgramValues()
public long[] getHistogramRanges()
Copyright © 2012 Alibaba Group. All Rights Reserved.