Class Span


  • public class Span
    extends Object
    This is a wrapper for a TraceScope object, which is a wrapper for a Span and its parent. Not recommended for client use.
    • Field Detail

      • NULL_SPAN

        public static final Span NULL_SPAN
      • span

        protected org.apache.htrace.Span span
    • Constructor Detail

      • Span

        public Span​(org.apache.htrace.TraceScope scope)
      • Span

        public Span​(org.apache.htrace.Span span)
    • Method Detail

      • getScope

        public org.apache.htrace.TraceScope getScope()
      • getSpan

        public org.apache.htrace.Span getSpan()
      • traceId

        public long traceId()
      • stop

        public void stop()