public class S3ServiceMetric extends SimpleMetricType implements ServiceMetricType
Modifier and Type | Class and Description |
---|---|
private static class |
S3ServiceMetric.S3ThroughputMetric |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
static S3ServiceMetric |
S3DownloadByteCount |
static S3ServiceMetric.S3ThroughputMetric |
S3DownloadThroughput |
static S3ServiceMetric |
S3UploadByteCount |
static S3ServiceMetric.S3ThroughputMetric |
S3UploadThroughput |
(package private) static java.lang.String |
SERVICE_NAME_PREFIX |
private static S3ServiceMetric[] |
values |
DOWNLOAD_BYTE_COUNT_NAME_SUFFIX, DOWNLOAD_THROUGHPUT_NAME_SUFFIX, UPLOAD_BYTE_COUNT_NAME_SUFFIX, UPLOAD_THROUGHPUT_NAME_SUFFIX
Modifier | Constructor and Description |
---|---|
private |
S3ServiceMetric(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServiceName() |
private static java.lang.String |
metricName(java.lang.String suffix)
Returns a metric name by concatenating the service name prefix with the
given suffix.
|
java.lang.String |
name()
Non-null name of the metric type.
|
static S3ServiceMetric |
valueOf(java.lang.String name) |
static S3ServiceMetric[] |
values() |
equals, hashCode, toString
static final java.lang.String SERVICE_NAME_PREFIX
public static final S3ServiceMetric.S3ThroughputMetric S3DownloadThroughput
public static final S3ServiceMetric S3DownloadByteCount
public static final S3ServiceMetric.S3ThroughputMetric S3UploadThroughput
public static final S3ServiceMetric S3UploadByteCount
private static final S3ServiceMetric[] values
private final java.lang.String name
private static final java.lang.String metricName(java.lang.String suffix)
public java.lang.String name()
MetricType
name
in interface MetricType
name
in class SimpleMetricType
public java.lang.String getServiceName()
getServiceName
in interface ServiceMetricType
public static S3ServiceMetric[] values()
public static S3ServiceMetric valueOf(java.lang.String name)