public interface InvocationStat
| 限定符和类型 | 方法和说明 |
|---|---|
long |
catchException(Throwable t)
tick one exception event
|
InvocationStatDimension |
getDimension()
The Dimension of invocation statistics
|
long |
getExceptionCount()
Get count of exception event
|
double |
getExceptionRate()
Get rate of exception event. by exception count / invoke count
|
long |
getInvokeCount()
get count of invocation
|
AtomicInteger |
getUselessCycle()
Gets useless cycle.
|
long |
invoke()
tick one invocation
|
InvocationStat |
snapshot()
Do snapshot of stat.
|
void |
update(InvocationStat snapshot)
Update the value of InvocationStat(eg. for next time window)
|
InvocationStatDimension getDimension()
AtomicInteger getUselessCycle()
long invoke()
long catchException(Throwable t)
t - Throwablelong getInvokeCount()
long getExceptionCount()
double getExceptionRate()
InvocationStat snapshot()
void update(InvocationStat snapshot)
snapshot - snapshot of one time windowCopyright © 2008–2018 The Ant Financial. All rights reserved.