public class ApacheStatusPoller
extends com.netflix.servo.publish.BaseMetricPoller
pollImpl(long) to return a list and all filtering
will be taken care of by the provided implementation of BaseMetricPoller.poll(com.netflix.servo.publish.MetricFilter).| Modifier and Type | Class and Description |
|---|---|
static interface |
ApacheStatusPoller.StatusFetcher
Mechanism used to fetch a status page.
|
static class |
ApacheStatusPoller.URLStatusFetcher
Simple class to fetch a status page using the
URL class. |
| Constructor and Description |
|---|
ApacheStatusPoller(ApacheStatusPoller.StatusFetcher fetcher)
Create a new ApacheStatusPoller with a given mechanism to fetch the status page.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.netflix.servo.Metric> |
pollImpl(boolean reset) |
public ApacheStatusPoller(ApacheStatusPoller.StatusFetcher fetcher)
fetcher - The ApacheStatusPoller.StatusFetcher that will be used to refresh the metrics.