class AggregateAndUploadImpl

Defined at line 16 of file ../../src/cobalt/bin/app/aggregate_and_upload_impl.h

Implementation of the AggregateAndUpload fidl interface.

Public Methods

void AggregateAndUploadImpl (CobaltServiceInterface * cobalt_service, MetricEventLoggerFactoryImpl * metric_event_logger_factory)

All of the pointers passed to the constructor must be non-null.

Defined at line 23 of file ../../src/cobalt/bin/app/aggregate_and_upload_impl.cc

void AggregateAndUploadMetricEvents (AggregateAndUploadMetricEventsCallback callback)

Locally aggregates all collected metrics and uploads generated observations immediately.

If AggregateAndUploadMetricEvents completes, then the metrics were locally aggregated and the

generated observations were uploaded successfully. Otherwise, AggregateAndUploadMetricEvents

will retry until it succeeds, hits a non-retryable error, or the calling service cancels the

process.

Defined at line 29 of file ../../src/cobalt/bin/app/aggregate_and_upload_impl.cc