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
SimpleServiceMetricType
public SimpleServiceMetricType(String name,
String serviceName)
name
public String name()
- Description copied from interface:
MetricType
- Non-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:
name
in interface MetricType
- Specified by:
name
in class SimpleMetricType
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in interface ServiceMetricType
Copyright © 2016. All rights reserved.