Package org.radargun.stats

Examples of org.radargun.stats.DefaultOperationStats


   }

   @Override
   public DistStageAck executeOnSlave() {
      // TODO: customize stats
      Statistics stats = new DefaultStatistics(new DefaultOperationStats());
      CountDownLatch startLatch = new CountDownLatch(1);
      ArrayList<IteratingStressor> stressors = new ArrayList<IteratingStressor>(numThreads);
      try {
         for (int i = 0; i < numThreads; ++i) {
            Iterable.Filter filter = null;
View Full Code Here


   @InjectTrait(dependency = InjectTrait.Dependency.MANDATORY)
   private Queryable queryable;

   @Override
   public DistStageAck executeOnSlave() {
      Statistics stats = new DefaultStatistics(new DefaultOperationStats());
      long start = System.nanoTime();
      queryable.reindex(container);
      stats.registerRequest(System.nanoTime() - start, Queryable.REINDEX);
      return new StatisticsAck(slaveState, stats);
   }
View Full Code Here

TOP

Related Classes of org.radargun.stats.DefaultOperationStats

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.