Class ImmutableHistogramPointData

  • All Implemented Interfaces:
    HistogramPointData, PointData
    Direct Known Subclasses:
    AutoValue_ImmutableHistogramPointData

    @Immutable
    public abstract class ImmutableHistogramPointData
    extends java.lang.Object
    implements HistogramPointData
    An approximate representation of the distribution of measurements.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Constructor Detail

      • ImmutableHistogramPointData

        ImmutableHistogramPointData()
    • Method Detail

      • create

        public static ImmutableHistogramPointData create​(long startEpochNanos,
                                                         long epochNanos,
                                                         Attributes attributes,
                                                         double sum,
                                                         boolean hasMin,
                                                         double min,
                                                         boolean hasMax,
                                                         double max,
                                                         java.util.List<java.lang.Double> boundaries,
                                                         java.util.List<java.lang.Long> counts)
        Creates a HistogramPointData. For a Histogram with N defined boundaries, there should be N+1 counts.
        Returns:
        a HistogramPointData.
        Throws:
        java.lang.IllegalArgumentException - if the given boundaries/counts were invalid
      • create

        public static ImmutableHistogramPointData create​(long startEpochNanos,
                                                         long epochNanos,
                                                         Attributes attributes,
                                                         double sum,
                                                         boolean hasMin,
                                                         double min,
                                                         boolean hasMax,
                                                         double max,
                                                         java.util.List<java.lang.Double> boundaries,
                                                         java.util.List<java.lang.Long> counts,
                                                         java.util.List<DoubleExemplarData> exemplars)
        Creates a HistogramPointData. For a Histogram with N defined boundaries, there should be N+1 counts.
        Returns:
        a HistogramPointData.
        Throws:
        java.lang.IllegalArgumentException - if the given boundaries/counts were invalid