Package com.google.appengine.tools.appstats.StatsProtos.RequestStatProto

Examples of com.google.appengine.tools.appstats.StatsProtos.RequestStatProto.Builder


      log.warning("Stats data was too big, " + action + ".");
    }
  }

  private RequestStatProto removeStackTraces(RequestStatProto proto) {
    Builder builder = proto.toBuilder().clearIndividualStats();
    for (IndividualRpcStatsProto stat : proto.getIndividualStatsList()) {
      builder.addIndividualStats(stat.toBuilder().clearCallStack());
    }
    return builder.build();
  }
View Full Code Here


    }
    return builder.build();
  }

  private RequestStatProto trimStatsEntries(int max, RequestStatProto proto) {
    Builder builder = proto.toBuilder().clearIndividualStats();
    for (int i = 0; i < Math.min(max, proto.getIndividualStatsCount()); i++) {
      builder.addIndividualStats(proto.getIndividualStats(i));
    }
    return builder.build();
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.appstats.StatsProtos.RequestStatProto.Builder

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.