Package cloudtrace.instrument.impl

Examples of cloudtrace.instrument.impl.RootMilliSpan


 
  public Span on(String description) {
    Span parent = currentTrace.get();
    Span root;
    if (parent == null) {
      root = new RootMilliSpan(description, random.nextLong(), random.nextLong(), Span.ROOT_SPAN_ID);
    } else {
      root = parent.child(description);
    }
    return push(root);
  }
View Full Code Here


    } else
      currentTrace.set(null);
  }
 
  public Span continueTrace(String description, long traceId, long parentId) {
    return push(new RootMilliSpan(description, traceId, random.nextLong(), parentId));
  }
View Full Code Here

TOP

Related Classes of cloudtrace.instrument.impl.RootMilliSpan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.