public class MetricBufferedStorageDispatcher extends Object implements Consumer<MetricDataPoint>
| Modifier and Type | Class and Description |
|---|---|
class |
MetricBufferedStorageDispatcher.Worker |
| Constructor and Description |
|---|
MetricBufferedStorageDispatcher(SchedulerConfiguration config,
StorageAdapter storageAdapter,
Diagnostics diagnostics) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetricDataPoint sample) |
void |
report(Throwable e) |
void |
shutdown() |
void |
start() |
public MetricBufferedStorageDispatcher(SchedulerConfiguration config, StorageAdapter storageAdapter, Diagnostics diagnostics)
public void start()
public void shutdown()
public void accept(MetricDataPoint sample)
accept in interface Consumer<MetricDataPoint>public void report(Throwable e)
report in interface Consumer<MetricDataPoint>Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.