public class AggregateCounterResource extends MetricResource
MetricResource.Page
Modifier | Constructor and Description |
---|---|
protected |
AggregateCounterResource()
No-arg constructor for serialization frameworks.
|
|
AggregateCounterResource(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Date when,
long value)
Add a data point to the set.
|
SortedMap<Date,Long> |
getValues()
Returns a date-sorted view of counts.
|
getName
protected AggregateCounterResource()
public AggregateCounterResource(String name)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.