Class MetricValue.Builder

  • Enclosing class:
    MetricValue

    public static final class MetricValue.Builder
    extends java.lang.Object
    MetricValue builder class.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • rate

        public MetricValue.Builder rate​(long rate)
        Sets rate value.
        Parameters:
        rate - rate value
        Returns:
        Builder object
      • load

        public MetricValue.Builder load​(long load)
        Sets load value.
        Parameters:
        load - load value
        Returns:
        Builder object
      • count

        public MetricValue.Builder count​(long count)
        Sets count value.
        Parameters:
        count - count value
        Returns:
        Builder object
      • add

        public MetricValue add()
        Builds a MetricValue object.
        Returns:
        MetricValue object