public class JdbcConnectionStat extends Object implements JdbcConnectionStatMBean
| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcConnectionStat.Entry |
static interface |
JdbcConnectionStat.EntryMBean |
| Constructor and Description |
|---|
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 in interface JdbcConnectionStatMBeanpublic long getCommitCount()
getCommitCount in interface JdbcConnectionStatMBeanpublic long getConnectCount()
getConnectCount in interface JdbcConnectionStatMBeanpublic long getConnectMillis()
getConnectMillis in interface JdbcConnectionStatMBeanpublic int getActiveMax()
getActiveMax in interface JdbcConnectionStatMBeanpublic long getRollbackCount()
getRollbackCount in interface JdbcConnectionStatMBeanpublic long getConnectErrorCount()
getConnectErrorCount in interface JdbcConnectionStatMBeanpublic Date getConnectLastTime()
getConnectLastTime in interface JdbcConnectionStatMBeanpublic void incrementConnectionCloseCount()
public void incrementConnectionCommitCount()
public void incrementConnectionRollbackCount()
public void incrementTransactionStartCount()
public long getTransactionStartCount()
public long[] getHistorgramValues()
public long[] getHistogramRanges()
Copyright © 2013–2018 Alibaba Group. All rights reserved.