Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected LogLag |
lag |
protected long |
lower |
protected long |
upper |
Constructor and Description |
---|
Latency(long lower,
long upper,
LogLag lag,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
asJson() |
static Latency |
fromJson(String json) |
String |
key()
Returns the key associated with the lower timestamp.
|
LogLag |
lag() |
long |
latency()
Returns the latency expressed in millisecond.
|
long |
lower()
Returns the lower timestamp.
|
static Latency |
noLatency(long upper,
LogLag lag) |
static Latency |
of(List<Latency> latencies) |
String |
toString() |
long |
upper()
Returns the upper timestamp.
|
Copyright © 2019 Nuxeo. All rights reserved.