public interface Telemetry
| Modifier and Type | Method and Description |
|---|---|
void |
addLogToBatch(TelemetryData log)
Attempt to add log to batch, and suppress exceptions thrown in case of
failure
|
void |
close()
Close telemetry connector and send any unsubmitted logs
|
boolean |
sendBatch()
Send all cached logs to server
|
void |
tryAddLogToBatch(TelemetryData log)
Attempt to add log to batch, and suppress exceptions thrown in case of
failure
|
void tryAddLogToBatch(TelemetryData log)
log - entry to addvoid addLogToBatch(TelemetryData log) throws IOException
log - entry to addIOExceptionvoid close()
throws IOException
IOException - if closed or uploading batch failsboolean sendBatch()
throws IOException
IOException - if closed or uploading batch failsCopyright © 2019. All rights reserved.