Package com.amazonaws.metrics
Class SimpleServiceMetricType
- java.lang.Object
-
- com.amazonaws.metrics.SimpleMetricType
-
- com.amazonaws.metrics.SimpleServiceMetricType
-
- All Implemented Interfaces:
MetricType,ServiceMetricType
- Direct Known Subclasses:
SimpleThroughputMetricType
public class SimpleServiceMetricType extends SimpleMetricType implements ServiceMetricType
-
-
Field Summary
-
Fields inherited from interface com.amazonaws.metrics.ServiceMetricType
DOWNLOAD_BYTE_COUNT_NAME_SUFFIX, DOWNLOAD_THROUGHPUT_NAME_SUFFIX, UPLOAD_BYTE_COUNT_NAME_SUFFIX, UPLOAD_THROUGHPUT_NAME_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description SimpleServiceMetricType(String name, String serviceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServiceName()Stringname()Non-null name of the metric type.-
Methods inherited from class com.amazonaws.metrics.SimpleMetricType
equals, hashCode, toString
-
-
-
-
Method Detail
-
name
public String name()
Description copied from interface:MetricTypeNon-null name of the metric type. Used to uniquely identify the metric type. Therefore, the name returned must be globally unique across all metric types that implement this interface.- Specified by:
namein interfaceMetricType- Specified by:
namein classSimpleMetricType
-
getServiceName
public String getServiceName()
- Specified by:
getServiceNamein interfaceServiceMetricType
-
-