Modifier and Type | Field and Description |
---|---|
private PlannerMetrics |
mMetrics |
private String |
mURL |
Constructor and Description |
---|
SendMetrics(PlannerMetrics metrics,
String url) |
Modifier and Type | Method and Description |
---|---|
SendMetricsResult |
call() |
private SendMetricsResult |
send(PlannerMetrics metrics,
String url)
Sends the planner metrics to the metrics server
|
private PlannerMetrics mMetrics
private String mURL
public SendMetrics(PlannerMetrics metrics, String url)
public SendMetricsResult call() throws IOException
call
in interface Callable
IOException
private SendMetricsResult send(PlannerMetrics metrics, String url) throws IOException
metrics
- the metrics to logurl
- the url to send the metrics toIOException