コード例 #1
0
 @Override
 public void visitEntry(Entry entry) {
   String type = entry.getType();
   String status = entry.getStatus();
   status = m_aggregationManger.handle(AggregationConfigManager.PROBLEM_TYPE, m_domain, status);
   m_currentEntry = findOrCreatEntry(m_currentMachine, type, status);
   super.visitEntry(entry);
 }
コード例 #2
0
 @Override
 public void visitProblemReport(ProblemReport problemReport) {
   m_domain = problemReport.getDomain();
   m_report = new ProblemReport();
   m_report.getIps().addAll(problemReport.getIps());
   m_report.getDomainNames().addAll(problemReport.getDomainNames());
   m_report.setDomain(problemReport.getDomain());
   m_report.setStartTime(problemReport.getStartTime());
   m_report.setEndTime(problemReport.getEndTime());
   super.visitProblemReport(problemReport);
 }
コード例 #3
0
 @Override
 public void visitThread(JavaThread thread) {
   m_currentThread = m_currentEntry.findOrCreateThread(thread.getId());
   super.visitThread(thread);
 }
コード例 #4
0
 @Override
 public void visitMachine(Machine machine) {
   m_currentMachine = m_report.findOrCreateMachine(machine.getIp());
   super.visitMachine(machine);
 }