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

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


    String localIp = info.getLocalAddress();
    String remoteIp = info.getRemoteAddress();
    String role = info.getRemoteRole();
    String transactionName = t.getName();
    Local local = report.findOrCreateLocal(localIp);
    Remote remote = local.findOrCreateRemote(remoteIp);

    remote.setRole(role);
    remote.setApp(info.getApp());

    Type type = remote.getType();

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

    Name name = type.findOrCreateName(transactionName);

    type.incTotalCount();
View Full Code Here

TOP

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

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.