Class StateSetSnapshot
Object
MetricSnapshot
StateSetSnapshot
Immutable snapshot of a StateSet metric.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStateSetSnapshot(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- SeeMetricMetadatafor more naming conventions.data- the constructor will create a sorted copy of the collection.
-
-
Method Details
-
getDataPoints
- Specified by:
getDataPointsin classMetricSnapshot
-
builder
-