Interface StartTimeExtractor<REQUEST>

  • 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 StartTimeExtractor<REQUEST>
    Extractor of the start time of request processing. A StartTimeExtractor should always use the same timestamp source as the corresponding EndTimeExtractor - extracted timestamps must be comparable.
    • Method Detail

      • extract

        Instant extract​(REQUEST request)
        Returns the timestamp marking the start of the request processing.