ServiceMetricCollectorSupport
public abstract class ServiceMetricCollector extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
ServiceMetricCollector.Factory |
Modifier and Type | Field | Description |
---|---|---|
static ServiceMetricCollector |
NONE |
A convenient instance of a no-op service metric collector.
|
Constructor | Description |
---|---|
ServiceMetricCollector() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
collectByteThroughput(ByteThroughputProvider provider) |
Collects metrics on the number of bytes written or read and the respective
duration.
|
abstract void |
collectLatency(ServiceLatencyProvider provider) |
Collects metrics for non-request specific latencies.
|
boolean |
isEnabled() |
public static final ServiceMetricCollector NONE
public abstract void collectByteThroughput(ByteThroughputProvider provider)
public abstract void collectLatency(ServiceLatencyProvider provider)
public boolean isEnabled()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.