public class MetricBucket extends Object
| Constructor and Description |
|---|
MetricBucket() |
| Modifier and Type | Method and Description |
|---|---|
MetricBucket |
add(MetricEvent event,
long n) |
void |
addBlock(int n) |
void |
addException(int n) |
void |
addOccupiedPass(int n) |
void |
addPass(int n) |
void |
addRT(long rt) |
void |
addSuccess(int n) |
long |
block() |
long |
exception() |
long |
get(MetricEvent event) |
long |
minRt() |
long |
occupiedPass() |
long |
pass() |
MetricBucket |
reset()
Reset the adders.
|
MetricBucket |
reset(MetricBucket bucket) |
long |
rt() |
long |
success() |
String |
toString() |
public MetricBucket reset(MetricBucket bucket)
public MetricBucket reset()
public long get(MetricEvent event)
public MetricBucket add(MetricEvent event, long n)
public long pass()
public long occupiedPass()
public long block()
public long exception()
public long rt()
public long minRt()
public long success()
public void addPass(int n)
public void addOccupiedPass(int n)
public void addException(int n)
public void addBlock(int n)
public void addSuccess(int n)
public void addRT(long rt)
Copyright © 2019 Alibaba Group. All rights reserved.