Esempio n. 1
0
  @Override
  protected void terminated() {

    try {
      log.info(String.format("Terminated: avg time = %dns", totalTime.get() / numTasks.get()));
    } finally {
      super.terminated();
    }
  }
 @Override
 protected void terminated() {
   super.terminated();
   misuseDetector.decrease();
 }