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

Examples of com.dianping.cat.consumer.cross.model.entity.Name


      type = new Type();
      type.setId(info.getDetailType());
      remote.setType(type);
    }

    Name name = type.findOrCreateName(transactionName);

    type.incTotalCount();
    name.incTotalCount();

    if (!t.isSuccess()) {
      type.incFailCount();
      name.incFailCount();
    }

    double duration = t.getDurationInMicros() / 1000d;
    name.setSum(name.getSum() + duration);
    type.setSum(type.getSum() + duration);
  }
View Full Code Here

TOP

Related Classes of com.dianping.cat.consumer.cross.model.entity.Name

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.