/** * Stops the timer, and registers the timer with the RequestLog. * <p> * This is primarily meant to be used by the try-with-resources block, which both stops the timer and registers it * with the RequestLog, though it can of course be called manually as well. If you want to stop the timer, but * don't want to register the timer just yet, then see {@link TimedPhase#stop}. * * @see TimedPhase#stop() * @see TimedPhase#registerTime() */ @Override public void close() { stop(); registerTime(); } }