com.amazonaws.metrics
Class SimpleMetricType

java.lang.Object
  extended by com.amazonaws.metrics.SimpleMetricType
All Implemented Interfaces:
MetricType
Direct Known Subclasses:
S3ServiceMetric, SimpleServiceMetricType

public abstract class SimpleMetricType
extends Object
implements MetricType


Constructor Summary
SimpleMetricType()
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
abstract  String name()
          Non-null name of the metric type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleMetricType

public SimpleMetricType()
Method Detail

name

public abstract 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

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object o)
Overrides:
equals in class Object

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2016. All rights reserved.