Uses of Class
brave.handler.MutableSpan
-
Packages that use MutableSpan Package Description brave brave.handler -
-
Uses of MutableSpan in brave
Methods in brave with parameters of type MutableSpan Modifier and Type Method Description voidErrorParser. error(Throwable error, MutableSpan span)Deprecated.Used to parse errors on a subtype of MutableSpanvoidTag. 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 booleanSpanHandler. 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.booleanFinishedSpanHandler. end(TraceContext context, MutableSpan span, SpanHandler.Cause cause)Deprecated.booleanSpanHandler. end(TraceContext context, MutableSpan span, SpanHandler.Cause cause)Called when data collection complete.abstract booleanFinishedSpanHandler. handle(TraceContext context, MutableSpan span)Deprecated.Since 5.12 useSpanHandler.end(TraceContext, MutableSpan, Cause)withSpanHandler.Cause.FINISHEDabstract intMutableSpanBytesEncoder. 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 intMutableSpanBytesEncoder. 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.
-