Interface SummarizedCounter.Builder

    • Method Detail

      • name

        SummarizedCounter.Builder name​(String name)

        The counter name.

        Parameters:
        name - The counter name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • max

        SummarizedCounter.Builder max​(Double max)

        The maximum value of the counter for a specified time period.

        Parameters:
        max - The maximum value of the counter for a specified time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • average

        SummarizedCounter.Builder average​(Double average)

        The average value of the counter for a specified time period.

        Parameters:
        average - The average value of the counter for a specified time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sum

        SummarizedCounter.Builder sum​(Double sum)

        The total of counter values for a specified time period.

        Parameters:
        sum - The total of counter values for a specified time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • n

        SummarizedCounter.Builder n​(Integer n)

        The number of counters for a specified time period.

        Parameters:
        n - The number of counters for a specified time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        SummarizedCounter.Builder unit​(String unit)

        The unit of the counters.

        Parameters:
        unit - The unit of the counters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.