public interface SystemMetricsReporter<T extends SystemMetrics<T>>
Wrap the analytics library with the Event class that can create and log events, and then
simply call the appropriate reportTo(SystemMetrics, Event)
with a metrics object to
trigger an event.
Modifier and Type | Interface and Description |
---|---|
static interface |
SystemMetricsReporter.Event |
Modifier and Type | Method and Description |
---|---|
void |
reportTo(T metrics,
SystemMetricsReporter.Event event) |
void reportTo(T metrics, SystemMetricsReporter.Event event)