Interface TimeExtractor<REQUEST,RESPONSE>
-
public interface TimeExtractor<REQUEST,RESPONSE>Extractor of the start and end times of request processing.Note: if metrics are generated by the Instrumenter, the start and end times from the
TimeExtractorwill be used to generate any duration metrics, but the internal metric timestamp (when it occurred) will always be stamped with "now" when the metric is recorded (i.e. there is no way to back date a metric recording).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantextractEndTime(REQUEST request, RESPONSE response, Throwable error)Returns the timestamp marking the end of the response processing.InstantextractStartTime(REQUEST request)Returns the timestamp marking the start of the request processing.
-