| Constructor and Description |
|---|
MetricsImpl(long start,
long end)
Intantiate new metric with a span.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long delta)
Increment metric by delta.
|
long |
getEnd()
Return span end timestamp.
|
long |
getStart()
Return span start timestamp.
|
long |
getValue()
Return metric value.
|
public MetricsImpl(long start,
long end)
start - timestampend - timestamp