public class SpringMethodStat extends Object
构造器和说明 |
---|
SpringMethodStat(SpringMethodInfo methodInfo) |
限定符和类型 | 方法和说明 |
---|---|
void |
addJdbcCommitCount(long commitCount) |
void |
addJdbcExecuteCount(long executeCount) |
void |
addJdbcExecuteTimeNano(long nano) |
void |
addJdbcFetchRowCount(long delta) |
void |
addJdbcRollbackCount(long rollbackCount) |
void |
addJdbcUpdateCount(long updateCount) |
void |
afterInvoke(Throwable error,
long nanos) |
void |
beforeInvoke() |
static SpringMethodStat |
current() |
long |
getConcurrentMax() |
long |
getExecuteCount() |
long |
getExecuteErrorCount() |
long |
getExecuteTimeMillis() |
long |
getExecuteTimeNano() |
long |
getJdbcCommitCount() |
long |
getJdbcExecuteCount() |
long |
getJdbcExecuteTimeMillis() |
long |
getJdbcExecuteTimeNano() |
long |
getJdbcFetchRowCount() |
long |
getJdbcRollbackCount() |
long |
getJdbcUpdateCount() |
SpringMethodInfo |
getMethodInfo() |
int |
getRunningCount() |
Map<String,Object> |
getStatData() |
void |
incrementJdbcCommitCount() |
void |
incrementJdbcExecuteCount() |
void |
incrementJdbcRollbackCount() |
void |
reset() |
static void |
setCurrent(SpringMethodStat current) |
public SpringMethodStat(SpringMethodInfo methodInfo)
public void reset()
public SpringMethodInfo getMethodInfo()
public static SpringMethodStat current()
public static void setCurrent(SpringMethodStat current)
public void beforeInvoke()
public void afterInvoke(Throwable error, long nanos)
public int getRunningCount()
public long getConcurrentMax()
public long getExecuteCount()
public long getExecuteErrorCount()
public long getExecuteTimeNano()
public long getExecuteTimeMillis()
public void addJdbcFetchRowCount(long delta)
public long getJdbcFetchRowCount()
public void addJdbcUpdateCount(long updateCount)
public long getJdbcUpdateCount()
public void incrementJdbcExecuteCount()
public void addJdbcExecuteCount(long executeCount)
public long getJdbcExecuteCount()
public long getJdbcExecuteTimeMillis()
public long getJdbcExecuteTimeNano()
public void addJdbcExecuteTimeNano(long nano)
public void incrementJdbcCommitCount()
public long getJdbcCommitCount()
public void addJdbcCommitCount(long commitCount)
public void incrementJdbcRollbackCount()
public long getJdbcRollbackCount()
public void addJdbcRollbackCount(long rollbackCount)
Copyright © 2012 Alibaba Group. All Rights Reserved.