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 JdbcConnectionStatMBean
public long getCommitCount()
getCommitCount
in interface JdbcConnectionStatMBean
public long getConnectCount()
getConnectCount
in interface JdbcConnectionStatMBean
public long getConnectMillis()
getConnectMillis
in interface JdbcConnectionStatMBean
public int getActiveMax()
getActiveMax
in interface JdbcConnectionStatMBean
public long getRollbackCount()
getRollbackCount
in interface JdbcConnectionStatMBean
public long getConnectErrorCount()
getConnectErrorCount
in interface JdbcConnectionStatMBean
public Date getConnectLastTime()
getConnectLastTime
in interface JdbcConnectionStatMBean
public void incrementConnectionCloseCount()
public void incrementConnectionCommitCount()
public void incrementConnectionRollbackCount()
public void incrementTransactionStartCount()
public long getTransactionStartCount()
public long[] getHistorgramValues()
public long[] getHistogramRanges()
Copyright © 2013–2017 Alibaba Group. All rights reserved.