Examples of incFails()


Examples of com.dianping.cat.consumer.event.model.entity.Range.incFails()

    synchronized (name) {
      Range range = name.findOrCreateRange(min);

      range.incCount();
      if (!t.isSuccess()) {
        range.incFails();
      }
    }
  }

  private void processTransaction(EventReport report, MessageTree tree, Transaction t) {
View Full Code Here

Examples of com.dianping.cat.consumer.transaction.model.entity.Range.incFails()

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

    if (!t.isSuccess()) {
      range.incFails();
    }

    range.setSum(range.getSum() + d);
  }
View Full Code Here

Examples of com.dianping.cat.consumer.transaction.model.entity.Range2.incFails()

  private void processTypeRange(Transaction t, TransactionType type, int min, double d) {
    Range2 range = type.findOrCreateRange2(min);

    if (!t.isSuccess()) {
      range.incFails();
    }

    range.incCount();
    range.setSum(range.getSum() + d);
  }
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.