Uses of Class
brave.handler.MutableSpan
Package | Description |
---|---|
brave | |
brave.handler |
-
Uses of MutableSpan in brave
Methods in brave with parameters of type MutableSpan Modifier and Type Method Description void
ErrorParser. error(Throwable error, MutableSpan span)
Deprecated.Used to parse errors on a subtype of MutableSpanvoid
Tag. tag(I input, TraceContext context, MutableSpan span)
Tags the value parsed from theinput
. -
Uses of MutableSpan in brave.handler
Methods in brave.handler with parameters of type MutableSpan Modifier and Type Method Description boolean
SpanHandler. begin(TraceContext context, MutableSpan span, TraceContext parent)
This is called when a span is sampled, but before it is started.abstract byte[]
MutableSpanBytesEncoder. encode(MutableSpan input)
Serializes an object into its binary form.boolean
FinishedSpanHandler. end(TraceContext context, MutableSpan span, SpanHandler.Cause cause)
Deprecated.boolean
SpanHandler. end(TraceContext context, MutableSpan span, SpanHandler.Cause cause)
Called when data collection complete.abstract boolean
FinishedSpanHandler. handle(TraceContext context, MutableSpan span)
Deprecated.Since 5.12 useSpanHandler.end(TraceContext, MutableSpan, Cause)
withSpanHandler.Cause.FINISHED
abstract int
MutableSpanBytesEncoder. sizeInBytes(MutableSpan input)
Method parameters in brave.handler with type arguments of type MutableSpan Modifier and Type Method Description abstract byte[]
MutableSpanBytesEncoder. encodeList(List<MutableSpan> input)
Serializes a list of objects into their binary form.abstract int
MutableSpanBytesEncoder. encodeList(List<MutableSpan> spans, byte[] out, int pos)
Allows you to encode a list of spans onto a specific offset.Constructors in brave.handler with parameters of type MutableSpan Constructor Description MutableSpan(MutableSpan toCopy)
MutableSpan(TraceContext context, MutableSpan defaults)
Creates a new instance from the given context, and defaults in the span.