Interface RequestCounter

All Known Implementing Classes:
SshMetrics

public interface RequestCounter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    countRequest(RequestInfo requestInfo, Throwable error)
    Count a request.
  • Method Details

    • countRequest

      void countRequest(RequestInfo requestInfo, Throwable error)
      Count a request.
      Parameters:
      requestInfo - information about the request
      error - The exception which caused the request to fail, or null if the request was successful.