public class Metric extends Object
There are typically many Metric instances for each metric name. Each one will have a different list of dimensions.
This class is immutable.
| Modifier | Constructor and Description |
|---|---|
protected |
Metric(com.amazonaws.services.kinesis.producer.protobuf.Messages.Metric m) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDimensions()
Gets the dimensions of this metric.
|
long |
getDuration() |
double |
getMax() |
double |
getMean() |
double |
getMin() |
String |
getName() |
double |
getSampleCount() |
double |
getSum() |
String |
toString() |
protected Metric(com.amazonaws.services.kinesis.producer.protobuf.Messages.Metric m)
public Map<String,String> getDimensions()
public double getSum()
public double getMean()
public double getSampleCount()
public double getMin()
public double getMax()
public String getName()
public long getDuration()
Copyright © 2018. All rights reserved.