com.amazonaws.metrics
Class SimpleServiceMetricType

java.lang.Object
  extended by com.amazonaws.metrics.SimpleMetricType
      extended by 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
SimpleServiceMetricType(String name, String serviceName)
           
 
Method Summary
 String getServiceName()
           
 String name()
          Non-null name of the metric type.
 
Methods inherited from class com.amazonaws.metrics.SimpleMetricType
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleServiceMetricType

public SimpleServiceMetricType(String name,
                               String serviceName)
Method Detail

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.