Class ThresholdLogSpanBuilder

java.lang.Object
com.couchbase.client.core.tracing.ThresholdLogSpanBuilder
All Implemented Interfaces:
io.opentracing.Tracer.SpanBuilder

public class ThresholdLogSpanBuilder
extends Object
implements io.opentracing.Tracer.SpanBuilder
Allows to build a Span in a builder fashion.
Since:
1.6.0
Author:
Michael Nitschinger
  • Method Details

    • asChildOf

      public ThresholdLogSpanBuilder asChildOf​(io.opentracing.SpanContext parent)
      Specified by:
      asChildOf in interface io.opentracing.Tracer.SpanBuilder
    • asChildOf

      public ThresholdLogSpanBuilder asChildOf​(io.opentracing.Span parent)
      Specified by:
      asChildOf in interface io.opentracing.Tracer.SpanBuilder
    • addReference

      public ThresholdLogSpanBuilder addReference​(String type, io.opentracing.SpanContext context)
      Specified by:
      addReference in interface io.opentracing.Tracer.SpanBuilder
    • ignoreActiveSpan

      public ThresholdLogSpanBuilder ignoreActiveSpan()
      Specified by:
      ignoreActiveSpan in interface io.opentracing.Tracer.SpanBuilder
    • withTag

      public ThresholdLogSpanBuilder withTag​(String key, String value)
      Specified by:
      withTag in interface io.opentracing.Tracer.SpanBuilder
    • withTag

      public ThresholdLogSpanBuilder withTag​(String key, boolean value)
      Specified by:
      withTag in interface io.opentracing.Tracer.SpanBuilder
    • withTag

      public ThresholdLogSpanBuilder withTag​(String key, Number value)
      Specified by:
      withTag in interface io.opentracing.Tracer.SpanBuilder
    • withStartTimestamp

      public ThresholdLogSpanBuilder withStartTimestamp​(long microseconds)
      Specified by:
      withStartTimestamp in interface io.opentracing.Tracer.SpanBuilder
    • startActive

      public io.opentracing.Scope startActive​(boolean finishSpanOnClose)
      Specified by:
      startActive in interface io.opentracing.Tracer.SpanBuilder
    • startManual

      public io.opentracing.Span startManual()
      Specified by:
      startManual in interface io.opentracing.Tracer.SpanBuilder
    • start

      public io.opentracing.Span start()
      Specified by:
      start in interface io.opentracing.Tracer.SpanBuilder