@Immutable public abstract class EndSpanOptions extends Object
Span. Allows
overriding the endTimestamp.| Modifier and Type | Class and Description |
|---|---|
static class |
EndSpanOptions.Builder
Builder class for
EndSpanOptions. |
| Modifier and Type | Method and Description |
|---|---|
static EndSpanOptions.Builder |
builder()
Returns a new
EndSpanOptions.Builder with default options. |
abstract long |
getEndTimestamp()
Returns the end timestamp.
|
public static EndSpanOptions.Builder builder()
EndSpanOptions.Builder with default options.Builder with default options.public abstract long getEndTimestamp()
Important this is NOT equivalent with System.nanoTime().