public abstract static class EndSpanOptions.Builder
extends java.lang.Object
EndSpanOptions
.Modifier and Type | Method and Description |
---|---|
abstract EndSpanOptions |
build()
Builds and returns a
EndSpanOptions with the desired settings. |
abstract EndSpanOptions.Builder |
setEndTimestamp(long endTimestamp)
Sets the end timestamp for the
Span . |
public abstract EndSpanOptions.Builder setEndTimestamp(long endTimestamp)
Span
.
Important this is NOT equivalent with System.nanoTime().
endTimestamp
- the end timestamp in nanos since epoch.public abstract EndSpanOptions build()
EndSpanOptions
with the desired settings.EndSpanOptions
with the desired settings.