public abstract class HttpForwardingMetricsServer extends Object
A server that can listen for metrics from the HttpForwardingMetricsConsumer.
Constructor and Description |
---|
HttpForwardingMetricsServer(Map conf) |
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
String |
getUrl() |
abstract void |
handle(IMetricsConsumer.TaskInfo taskInfo,
Collection<IMetricsConsumer.DataPoint> dataPoints) |
void |
serve() |
void |
serve(Integer port) |
public HttpForwardingMetricsServer(Map conf)
public abstract void handle(IMetricsConsumer.TaskInfo taskInfo, Collection<IMetricsConsumer.DataPoint> dataPoints)
public void serve(Integer port)
public void serve()
public int getPort()
public String getUrl()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.