Class LatencyRecordingHandler

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
All Implemented Interfaces:
Handler, Handler.Container, Handler.Singleton, Request.Handler, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.util.thread.Invocable

public abstract class LatencyRecordingHandler extends EventsHandler

A Handler that helps recording the total latency of the requests executed by the wrapped handler.

The latency reported by onRequestComplete(String, long) is the delay between when the request arrived to a connector until the completion of that request.