Package com.dianping.cat.message.internal

Examples of com.dianping.cat.message.internal.DefaultTrace.addData()


  private Trace newTrace(String type, String name, long timestamp, String status, String data) {
    DefaultTrace trace = new DefaultTrace(type, name);

    trace.setStatus(status);
    trace.addData(data);
    trace.setTimestamp(timestamp);
    return trace;
  }

  private Transaction newTransaction(String type, String name, long timestamp, String status, int duration, String data) {
View Full Code Here


      String traceData = helper.read(buf, TAB);

      helper.read(buf, LF); // get rid of line feed
      trace.setTimestamp(m_dateHelper.parse(timestamp));
      trace.setStatus(traceStatus);
      trace.addData(traceData);

      if (parent != null) {
        parent.addChild(trace);
        return parent;
      } else {
View Full Code Here

      String traceData = helper.read(ctx, TAB);

      helper.read(ctx, LF); // get rid of line feed
      trace.setTimestamp(m_dateHelper.parse(timestamp));
      trace.setStatus(traceStatus);
      trace.addData(traceData);

      if (parent != null) {
        parent.addChild(trace);
        return parent;
      } else {
View Full Code Here

  private Trace newTrace(String type, String name, long timestamp, String status, String data) {
    DefaultTrace trace = new DefaultTrace(type, name);

    trace.setStatus(status);
    trace.addData(data);
    trace.setTimestamp(timestamp);
    return trace;
  }

  private Transaction newTransaction(String type, String name, long timestamp, String status, int duration, String data) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.