public class TelemetryReporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected Data |
data |
protected org.apache.http.client.HttpClient |
httpClient |
protected static TelemetryLogger |
LOG |
protected long |
reportingIntervalInSeconds |
protected boolean |
stopped |
protected String |
telemetryEndpoint |
protected TelemetrySendingTask |
telemetrySendingTask |
protected Timer |
timer |
| Constructor and Description |
|---|
TelemetryReporter(CommandExecutor commandExecutor,
String telemetryEndpoint,
Data data,
org.apache.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
long |
getReportingIntervalInSeconds() |
String |
getTelemetryEndpoint() |
TelemetrySendingTask |
getTelemetrySendingTask() |
protected void |
initTelemetrySendingTask() |
void |
reportNow() |
void |
setTelemetrySendingTask(TelemetrySendingTask telemetrySendingTask) |
void |
start() |
void |
stop() |
protected static final TelemetryLogger LOG
protected long reportingIntervalInSeconds
protected TelemetrySendingTask telemetrySendingTask
protected Timer timer
protected CommandExecutor commandExecutor
protected String telemetryEndpoint
protected Data data
protected org.apache.http.client.HttpClient httpClient
protected boolean stopped
public TelemetryReporter(CommandExecutor commandExecutor, String telemetryEndpoint, Data data, org.apache.http.client.HttpClient httpClient)
protected void initTelemetrySendingTask()
public void start()
public void stop()
public void reportNow()
public long getReportingIntervalInSeconds()
public TelemetrySendingTask getTelemetrySendingTask()
public void setTelemetrySendingTask(TelemetrySendingTask telemetrySendingTask)
public String getTelemetryEndpoint()
Copyright © 2013–2020 camunda services GmbH. All rights reserved.