Interface KeyPerformanceIndicatorSupport.Metrics

  • Enclosing interface:
    KeyPerformanceIndicatorSupport

    public static interface KeyPerformanceIndicatorSupport.Metrics
    Key performance indicator metrics behavior.
    • Method Detail

      • onRequestReceived

        default void onRequestReceived()
        Invoked when a request has been received.
      • onRequestStarted

        default void onRequestStarted()
        Invoked when processing on a request has been started.
      • onRequestCompleted

        default void onRequestCompleted​(boolean isSuccessful,
                                        long processingTimeMs)
        Invoked when processing on a request has finished.
        Parameters:
        isSuccessful - indicates if the request processing succeeded
        processingTimeMs - duration of the request processing in milliseconds