Class MetricGroup
- java.lang.Object
-
- io.streamthoughts.azkarra.api.model.MetricGroup
-
- All Implemented Interfaces:
Comparable<MetricGroup>
public class MetricGroup extends Object implements Comparable<MetricGroup>
-
-
Constructor Summary
Constructors Constructor Description MetricGroup(String name, List<Metric> metrics)
Creates a newMetricGroup
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(MetricGroup that)
boolean
equals(Object o)
int
hashCode()
List<Metric>
metrics()
String
name()
String
toString()
-
-
-
Constructor Detail
-
MetricGroup
public MetricGroup(String name, List<Metric> metrics)
Creates a newMetricGroup
instance.- Parameters:
name
- the group name.
-
-
Method Detail
-
name
public String name()
-
compareTo
public int compareTo(MetricGroup that)
- Specified by:
compareTo
in interfaceComparable<MetricGroup>
-
-