com.alibaba.druid.stat
Class JdbcResultSetStat

java.lang.Object
  extended by com.alibaba.druid.stat.JdbcResultSetStat
All Implemented Interfaces:
JdbcResultSetStatMBean

public class JdbcResultSetStat
extends Object
implements JdbcResultSetStatMBean


Constructor Summary
JdbcResultSetStat()
           
 
Method Summary
 void addFetchRowCount(long fetchCount)
           
 void afterClose(long aliveNano)
           
 void beforeOpen()
           
 void error(Throwable error)
           
 long getAliveMilisMax()
           
 long getAliveMilisMin()
           
 long getAliveMillisTotal()
           
 long getAliveNanoTotal()
           
 long getCloseCount()
           
 long getErrorCount()
           
 long getFetchRowCount()
           
 long getHoldMillisTotal()
           
 Throwable getLastError()
           
 Date getLastErrorTime()
           
 Date getLastOpenTime()
           
 long getOpenCount()
           
 int getOpenningCount()
           
 int getOpenningMax()
           
 void incrementCloseCounter()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcResultSetStat

public JdbcResultSetStat()
Method Detail

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.