MetricCollectorSupport
public abstract class MetricCollector extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
MetricCollector.Factory |
Can be used to serve as a factory for the request metric collector.
|
Modifier and Type | Field | Description |
---|---|---|
static MetricCollector |
NONE |
A convenient instance of a no-op request metric collector.
|
Constructor | Description |
---|---|
MetricCollector() |
Modifier and Type | Method | Description |
---|---|---|
abstract RequestMetricCollector |
getRequestMetricCollector() |
|
abstract ServiceMetricCollector |
getServiceMetricCollector() |
|
abstract boolean |
isEnabled() |
Returns true if this collector is enabled; false otherwise.
|
abstract boolean |
start() |
Starts the request metric collector.
|
abstract void |
stop() |
Stops the request metric collector.
|
public static final MetricCollector NONE
public abstract boolean start()
public abstract void stop()
public abstract boolean isEnabled()
public abstract RequestMetricCollector getRequestMetricCollector()
public abstract ServiceMetricCollector getServiceMetricCollector()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.