Package org.nuxeo.lib.stream.log
Class Latency
- java.lang.Object
-
- org.nuxeo.lib.stream.log.Latency
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-