Package org.radargun.stats

Examples of org.radargun.stats.OperationStats$Converter


         if (below == null && over == null) throw new IllegalStateException("Must define either 'below' or 'over'!");
      }

      @Override
      public boolean evaluate(int threads, Statistics statistics) {
         OperationStats stats = statistics.getOperationsStats().get(on);
         if (stats == null) throw new IllegalStateException("No statistics for operation " + on);
         org.radargun.stats.representation.Percentile percentile
               = stats.getRepresentation(org.radargun.stats.representation.Percentile.class, value);
         if (percentile == null) throw new IllegalStateException("Cannot determine percentile from " + stats);
         log.info("Response time is " + Utils.prettyPrintTime((long) percentile.responseTimeMax, TimeUnit.NANOSECONDS) + PropertyHelper.toString(this));
         if (below != null) return percentile.responseTimeMax < below;
         if (over != null) return percentile.responseTimeMax > over;
         throw new IllegalStateException();
View Full Code Here

TOP

Related Classes of org.radargun.stats.OperationStats$Converter

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.