public interface Metrics
| Modifier and Type | Method and Description |
|---|---|
void |
add(long delta)
Increment metric
|
long |
getEnd()
Return end of the time span [start, end]
|
long |
getStart()
Return start of the time span [start, end]
|
long |
getValue()
Return current metric value
|
void add(long delta)
delta - valuelong getValue()
long getStart()
long getEnd()