public class MetricBufferedStorageDispatcher extends Object implements MetricCompletionHandler
| 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 |
onCompleted(MetricDataPoint sample) |
void |
onFailed(Throwable e) |
void |
shutdown() |
void |
start() |
public MetricBufferedStorageDispatcher(SchedulerConfiguration config, StorageAdapter storageAdapter, Diagnostics diagnostics)
public void start()
public void shutdown()
public void onCompleted(MetricDataPoint sample)
onCompleted in interface CompletionHandler<MetricDataPoint>public void onFailed(Throwable e)
onFailed in interface CompletionHandler<MetricDataPoint>Copyright © 2015 Red Hat, Inc.. All rights reserved.