Class StateSetSnapshot
Object
MetricSnapshot
StateSetSnapshot
Immutable snapshot of a StateSet metric.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
ConstructorDescriptionStateSetSnapshot
(MetricMetadata metadata, Collection<StateSetSnapshot.StateSetDataPointSnapshot> data) To create a newStateSetSnapshot
, you can either call the constructor directly or use the builder withbuilder()
. -
Method Summary
Methods inherited from class MetricSnapshot
getMetadata
-
Constructor Details
-
StateSetSnapshot
public StateSetSnapshot(MetricMetadata metadata, Collection<StateSetSnapshot.StateSetDataPointSnapshot> data) To create a newStateSetSnapshot
, 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
-