Package brave
Interface Clock
public interface Clock
Epoch microseconds used for
Span.timestamp() and Annotation.timestamp().
This should use the most precise value possible. For example, gettimeofday or
multiplying System.currentTimeMillis() by 1000.
See Instrumenting a service for more.
-
Method Summary
Modifier and Type Method Description longcurrentTimeMicroseconds()
-
Method Details
-
currentTimeMicroseconds
long currentTimeMicroseconds()
-