Code example for Stopwatch

Methods: stop

0
    logger.debug(message);
  } 
 
  @Override 
  public void stop() { 
    stopwatch.stop();
    if (logger.isDebugEnabled()) { 
      logger.debug("STOP after {}", stopwatch);
    } 
    else { 
      maybePrintln(); 
      System.out.println();
    } 
  } 
 
  @Override 
  public void timeout() { 
    maybePrintln(); 
    logger.warn("TIMEOUT after {}", stopwatch);
  } 
Stop searching for code, let great code find you!  Add Codota to your java IDE