Interface ServiceStatistics.Builder

    • Method Detail

      • okCount

        ServiceStatistics.Builder okCount​(Long okCount)

        The number of requests that completed with a 2xx Success status code.

        Parameters:
        okCount - The number of requests that completed with a 2xx Success status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorStatistics

        ServiceStatistics.Builder errorStatistics​(ErrorStatistics errorStatistics)

        Information about requests that failed with a 4xx Client Error status code.

        Parameters:
        errorStatistics - Information about requests that failed with a 4xx Client Error status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • faultStatistics

        ServiceStatistics.Builder faultStatistics​(FaultStatistics faultStatistics)

        Information about requests that failed with a 5xx Server Error status code.

        Parameters:
        faultStatistics - Information about requests that failed with a 5xx Server Error status code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalCount

        ServiceStatistics.Builder totalCount​(Long totalCount)

        The total number of completed requests.

        Parameters:
        totalCount - The total number of completed requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalResponseTime

        ServiceStatistics.Builder totalResponseTime​(Double totalResponseTime)

        The aggregate response time of completed requests.

        Parameters:
        totalResponseTime - The aggregate response time of completed requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.