public class SampleSet extends Object implements Serializable
| Constructor and Description | 
|---|
SampleSet()  | 
SampleSet(Timestamp timestamp)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMeasurement(Resource r,
              Metric m,
              SampleValue<?> value)  | 
boolean | 
equals(Object obj)  | 
Set<String> | 
getGroups()  | 
Set<String> | 
getGroups(Resource resource)  | 
Collection<Sample> | 
getMeasurements()  | 
Set<Resource> | 
getResources()  | 
Collection<Sample> | 
getSamples()  | 
Collection<Sample> | 
getSamplesForGroup(String groupName)  | 
Collection<Sample> | 
getSamplesForResource(Resource resource)  | 
Collection<Sample> | 
getSamplesForResourceAndGroup(Resource resource,
                             String groupName)  | 
Timestamp | 
getTimestamp()  | 
Date | 
getTimestampAsDate()  | 
int | 
hashCode()  | 
String | 
toString()
TODO Make this better. 
 | 
public SampleSet()
public SampleSet(Timestamp timestamp)
public void addMeasurement(Resource r, Metric m, SampleValue<?> value)
public Timestamp getTimestamp()
public Date getTimestampAsDate()
public Collection<Sample> getSamplesForGroup(String groupName)
public Collection<Sample> getSamplesForResource(Resource resource)
public Collection<Sample> getSamplesForResourceAndGroup(Resource resource, String groupName)
public Collection<Sample> getMeasurements()
public Collection<Sample> getSamples()
Copyright © 2016. All rights reserved.