public final class TraceIdContext extends SamplingFlags
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TraceIdContext.Builder |
DEBUG, EMPTY, NOT_SAMPLED, SAMPLED| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
Only includes mandatory fields
traceIdHigh() and traceId() |
int |
hashCode() |
Only includes mandatory fields
traceIdHigh() and traceId() |
static TraceIdContext.Builder |
newBuilder() |
|
TraceIdContext.Builder |
toBuilder() |
|
String |
toString() |
Returns
$traceId |
long |
traceId() |
Unique 8-byte identifier for a trace, set on all spans within it.
|
long |
traceIdHigh() |
When non-zero, the trace containing this span uses 128-bit trace identifiers.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdebug, sampled, sampledLocalpublic static TraceIdContext.Builder newBuilder()
public long traceIdHigh()
public long traceId()
public TraceIdContext.Builder toBuilder()
public String toString()
$traceIdtoString in class SamplingFlagspublic boolean equals(Object o)
traceIdHigh() and traceId()public int hashCode()
traceIdHigh() and traceId()Copyright © 2018 OpenZipkin. All rights reserved.