Interface EndTimeExtractor<REQUEST,​RESPONSE>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface EndTimeExtractor<REQUEST,​RESPONSE>
    Extractor of the end time of response processing. An EndTimeExtractor should always use the same timestamp source as the corresponding StartTimeExtractor - extracted timestamps must be comparable.
    • Method Detail

      • extract

        Instant extract​(REQUEST request,
                        @Nullable RESPONSE response,
                        @Nullable Throwable error)
        Returns the timestamp marking the end of the response processing.