@ExperimentalApi @Immutable public abstract class Summary extends Object
Distribution as a summary of observations.
This is not recommended, since it cannot be aggregated.
| Modifier and Type | Class and Description |
|---|---|
static class |
Summary.Snapshot
Represents the summary observation of the recorded events over a sliding time window.
|
| Modifier and Type | Method and Description |
|---|---|
static Summary |
create(Long count,
Double sum,
Summary.Snapshot snapshot)
Creates a
Summary. |
abstract Long |
getCount()
Returns the aggregated count.
|
abstract Summary.Snapshot |
getSnapshot()
Returns the
Summary.Snapshot. |
abstract Double |
getSum()
Returns the aggregated sum.
|
public static Summary create(@Nullable Long count, @Nullable Double sum, Summary.Snapshot snapshot)
Summary.count - the count of the population values.sum - the sum of the population values.snapshot - bucket boundaries of a histogram.Summary with the given values.@Nullable public abstract Long getCount()
null.@Nullable public abstract Double getSum()
null.public abstract Summary.Snapshot getSnapshot()
Summary.Snapshot.Snapshot.