These options are propagated to all child spans. These determine features such as
whether a Span should be traced.
| Modifier and Type | Method and Description |
|---|---|
| public byte | Returns: the byte representation of theTraceFlags.Returns the byte representation of this |
| public String | Returns: the byte representation of theTraceFlags.Returns the lowercase hex (base16) representation of this |
| public static TraceFlags | Returns: theTraceFlags converted from the given byte representation.the byte representation of the traceFlagsByte)TraceFlags.Returns the |
| public static TraceFlags | Returns: theTraceFlags converted from the given lowercase hex (base16) representation.the buffer where the hex (base16) representation of the src, int TraceFlags is.the offset int buffer. srcOffset)Returns the |
| public static TraceFlags | Returns: the default (with all flag bits off) byte representation of theTraceFlags.Returns the default (with all flag bits off) byte representation of the |
| public static int | Returns: the length of the lowercase hex (base16) representation of theTraceFlags.Returns the length of the lowercase hex (base16) representation of the |
| public static TraceFlags | Returns: the lowercase hex (base16) representation of theTraceFlags with the sampling
flag bit on.Returns the lowercase hex (base16) representation of the |
| public boolean |
| asByte | back to summary |
|---|---|
| public byte asByte() Returns the byte representation of this
| |
| asHex | back to summary |
|---|---|
| public String asHex() Returns the lowercase hex (base16) representation of this
| |
| fromByte | back to summary |
|---|---|
| public static TraceFlags fromByte(byte traceFlagsByte) Returns the
| |
| fromHex | back to summary |
|---|---|
| public static TraceFlags fromHex(CharSequence src, int srcOffset) Returns the This may throw runtime exceptions if the input is invalid.
| |
| getDefault | back to summary |
|---|---|
| public static TraceFlags getDefault() Returns the default (with all flag bits off) byte representation of the
| |
| getLength | back to summary |
|---|---|
| public static int getLength() Returns the length of the lowercase hex (base16) representation of the
| |
| getSampled | back to summary |
|---|---|
| public static TraceFlags getSampled() Returns the lowercase hex (base16) representation of the
| |
| isSampled | back to summary |
|---|---|
| public boolean isSampled() Returns
| |