Package com.dianping.cat.consumer.transaction.model.entity

Examples of com.dianping.cat.consumer.transaction.model.entity.Duration


    while (dk < d) {
      dk <<= 1;
    }

    Duration duration = name.findOrCreateDuration(dk);
    Range range = name.findOrCreateRange(min);

    duration.incCount();
    range.incCount();

    if (!t.isSuccess()) {
      range.incFails();
    }
View Full Code Here


  }

  @Override
  public void visitDuration(Duration duration) {
    m_currentDuration = duration.getValue();
    Duration temp = m_report.findOrCreateMachine(m_currentIp).findOrCreateType(m_currentType)
          .findOrCreateName(m_currentName).findOrCreateDuration(m_currentDuration);

    m_merger.mergeDuration(temp, duration);

    Duration all = m_report.findOrCreateMachine(m_currentIp).findOrCreateType(m_currentType)
          .findOrCreateName(Constants.ALL).findOrCreateDuration(m_currentDuration);

    m_merger.mergeDuration(all, duration);

    super.visitDuration(duration);
View Full Code Here

  }

  @Override
  public void visitDuration(Duration duration) {
    m_currentDuration = duration.getValue();
    Duration temp = m_report.findOrCreateMachine(Constants.ALL).findOrCreateType(m_currentType)
          .findOrCreateName(m_currentName).findOrCreateDuration(m_currentDuration);

    m_merger.mergeDuration(temp, duration);

    super.visitDuration(duration);
View Full Code Here

TOP

Related Classes of com.dianping.cat.consumer.transaction.model.entity.Duration

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.