Package edu.berkeley.xtrace.reporting

Examples of edu.berkeley.xtrace.reporting.Report


    }
   
    private void sendReport() {
      TaskID id = taskList.get()[rnd.nextInt(taskList.get().length)];
     
      Report r = new Report();
      r.put("X-Trace", new XTraceMetadata(id, 0).toString());
      r.put("Time", (new Date().toString()));
      r.put("Key1", "Value1");
      r.put("Key2", "Value2");
      r.put("Key3", "Value3.1");
      r.put("Key3", "Value3.2");
     
      LOG.debug("Sending report");
      q.offer(r.toString());
    }
View Full Code Here


            LOG.warn("Interrupted", e);
            continue;
          }
          LOG.debug("Received report of length " + msg.length());
          LOG.debug(msg);
          Report rpt = Report.createFromString(msg);
          reporter.sendReport(rpt);
          LOG.debug("Report sent to backend");
        }
      }
    }).start();
View Full Code Here

TOP

Related Classes of edu.berkeley.xtrace.reporting.Report

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.