Ejemplo n.º 1
0
 @Override
 public void release() {
   for (AbstractBenchmarkClient bc : activeClients.values()) {
     bc.release();
   }
   super.release();
 }
  public void run() {
    init();
    log().info("Benchmark framework has started...");
    latch = new CountDownLatch(1);
    execute();

    try {
      latch.await();
    } catch (InterruptedException e) {
      // ignore
    }

    release();
    ReleaseManager.getInstance().deregister(this);
    log().info("Done Benchmarking framework");
  }