public class JdbcResultSetStat extends Object implements JdbcResultSetStatMBean
Constructor and Description |
---|
JdbcResultSetStat() |
Modifier and Type | Method and Description |
---|---|
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 |
getOpeningCount() |
int |
getOpeningMax() |
void |
incrementCloseCounter() |
void |
reset() |
public void reset()
public void beforeOpen()
public long getErrorCount()
getErrorCount
in interface JdbcResultSetStatMBean
public int getOpeningCount()
getOpeningCount
in interface JdbcResultSetStatMBean
public int getOpeningMax()
getOpeningMax
in interface JdbcResultSetStatMBean
public long getOpenCount()
getOpenCount
in interface JdbcResultSetStatMBean
public Date getLastOpenTime()
public long getAliveNanoTotal()
public long getAliveMillisTotal()
public long getAliveMilisMin()
public long getAliveMilisMax()
public void afterClose(long aliveNano)
public Throwable getLastError()
public Date getLastErrorTime()
public void error(Throwable error)
public long getHoldMillisTotal()
getHoldMillisTotal
in interface JdbcResultSetStatMBean
public long getFetchRowCount()
getFetchRowCount
in interface JdbcResultSetStatMBean
public long getCloseCount()
getCloseCount
in interface JdbcResultSetStatMBean
public void addFetchRowCount(long fetchCount)
public void incrementCloseCounter()
Copyright © 2013–2021 Alibaba Group. All rights reserved.