Class SshMetrics

java.lang.Object
com.google.gerrit.sshd.SshMetrics
All Implemented Interfaces:
RequestCounter

public class SshMetrics extends Object implements RequestCounter
  • Method Details

    • countRequest

      public void countRequest(RequestInfo requestInfo, Throwable error)
      Description copied from interface: RequestCounter
      Count a request.
      Specified by:
      countRequest in interface RequestCounter
      Parameters:
      requestInfo - information about the request
      error - The exception which caused the request to fail, or null if the request was successful.