| Package | Description |
|---|---|
| org.hawkular.agent.monitor.api | |
| org.hawkular.agent.monitor.protocol | |
| org.hawkular.agent.monitor.scheduler | |
| org.hawkular.agent.monitor.storage |
| Modifier and Type | Method and Description |
|---|---|
void |
SamplingService.measureAvails(Collection<MeasurementInstance<L,AvailType<L>>> instances,
Consumer<AvailDataPoint> consumer)
Checks the availabilities defined by
instances and reports them back to the given consumer. |
void |
SamplingService.measureMetrics(Collection<MeasurementInstance<L,MetricType<L>>> instances,
Consumer<MetricDataPoint> consumer)
Collects the metrics defined by
instances and reports them back to the given consumer. |
| Modifier and Type | Method and Description |
|---|---|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
SamplingService<L> samplingService,
Consumer<Resource<L>> resourceConsumer)
Discovers children of the given type underneath the given parent.
|
void |
EndpointService.measureAvails(Collection<MeasurementInstance<L,AvailType<L>>> instances,
Consumer<AvailDataPoint> consumer) |
void |
EndpointService.measureMetrics(Collection<MeasurementInstance<L,MetricType<L>>> instances,
Consumer<MetricDataPoint> consumer) |
| Modifier and Type | Method and Description |
|---|---|
protected Consumer<D> |
MeasurementCollector.getCompletionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Runnable |
MeasurementScheduler.createCollector(SamplingService<L> endpointService,
ScheduledCollectionsQueue<L,T> queue,
Consumer<D> completionHandler)
Creates the object that will be responsible for collecting the data;
|
static <LL> MeasurementScheduler<LL,AvailType<LL>,AvailDataPoint> |
MeasurementScheduler.forAvails(String name,
Consumer<AvailDataPoint> completionHandler)
Static method that builds a scheduler for availability checking.
|
static <LL> MeasurementScheduler<LL,MetricType<LL>,MetricDataPoint> |
MeasurementScheduler.forMetrics(String name,
Consumer<MetricDataPoint> completionHandler)
Static method that builds a scheduler for metric collection.
|
| Constructor and Description |
|---|
MeasurementCollector(SamplingService<L> endpointService,
ScheduledCollectionsQueue<L,T> queue,
Consumer<D> completionHandler)
Creates a job that is used to collect measurements provided by the priority queue
from the given monitored endpoint.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AvailBufferedStorageDispatcher
Buffers availability check data and eventually stores them in a storage adapter.
|
class |
MetricBufferedStorageDispatcher
Buffers collected metric data and eventually stores them in a storage adapter.
|
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.