com.alibaba.druid.stat
Class JdbcResultSetStat
java.lang.Object
com.alibaba.druid.stat.JdbcResultSetStat
- All Implemented Interfaces:
- JdbcResultSetStatMBean
public class JdbcResultSetStat
- extends Object
- implements JdbcResultSetStatMBean
JdbcResultSetStat
public JdbcResultSetStat()
reset
public void reset()
beforeOpen
public void beforeOpen()
getErrorCount
public long getErrorCount()
- Specified by:
getErrorCount in interface JdbcResultSetStatMBean
getOpenningCount
public int getOpenningCount()
- Specified by:
getOpenningCount in interface JdbcResultSetStatMBean
getOpenningMax
public int getOpenningMax()
- Specified by:
getOpenningMax in interface JdbcResultSetStatMBean
getOpenCount
public long getOpenCount()
- Specified by:
getOpenCount in interface JdbcResultSetStatMBean
getLastOpenTime
public Date getLastOpenTime()
getAliveNanoTotal
public long getAliveNanoTotal()
getAliveMillisTotal
public long getAliveMillisTotal()
getAliveMilisMin
public long getAliveMilisMin()
getAliveMilisMax
public long getAliveMilisMax()
afterClose
public void afterClose(long aliveNano)
getLastError
public Throwable getLastError()
getLastErrorTime
public Date getLastErrorTime()
error
public void error(Throwable error)
getHoldMillisTotal
public long getHoldMillisTotal()
- Specified by:
getHoldMillisTotal in interface JdbcResultSetStatMBean
getFetchRowCount
public long getFetchRowCount()
- Specified by:
getFetchRowCount in interface JdbcResultSetStatMBean
getCloseCount
public long getCloseCount()
- Specified by:
getCloseCount in interface JdbcResultSetStatMBean
addFetchRowCount
public void addFetchRowCount(long fetchCount)
incrementCloseCounter
public void incrementCloseCounter()
Copyright © 2012 Alibaba Group. All Rights Reserved.