Class SummarySnapshot
Object
MetricSnapshot
SummarySnapshot
Immutable snapshot of a Summary metric.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionSummarySnapshot(MetricMetadata metadata, Collection<SummarySnapshot.SummaryDataPointSnapshot> data) To create a newSummarySnapshot, you can either call the constructor directly or use the builder withbuilder(). -
Method Summary
Methods inherited from class MetricSnapshot
getMetadata
-
Constructor Details
-
SummarySnapshot
public SummarySnapshot(MetricMetadata metadata, Collection<SummarySnapshot.SummaryDataPointSnapshot> data) To create a newSummarySnapshot, you can either call the constructor directly or use the builder withbuilder().- Parameters:
metadata- SeeMetricMetadatafor more naming conventions.data- the constructor will create a sorted copy of the collection.
-
-
Method Details
-
getDataPoints
- Specified by:
getDataPointsin classMetricSnapshot
-
builder
-