Class SummarySnapshot
Object
MetricSnapshot
SummarySnapshot
Immutable snapshot of a Summary metric.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final class
-
Constructor Summary
ConstructorDescriptionSummarySnapshot
(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
- SeeMetricMetadata
for more naming conventions.data
- the constructor will create a sorted copy of the collection.
-
-
Method Details
-
getDataPoints
- Specified by:
getDataPoints
in classMetricSnapshot
-
builder
-