Code example for Stopwatch

Methods: reset

0
 
 
    private void reset() { 
        startSignal = new CountDownLatch(1);
        endSignal = new CountDownLatch(numberThreads);
        stopwatch.reset();
    } 
 
    private void shutdown() { 
        executorService.shutdownNow();
    } 
 
 
} 
Connect your IDE to all the code out there  Get Codota for Java