| 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 |
|---|---|
void |
Discovery.discoverAllResources(Session<L> session,
Consumer<Resource<L>> resourceConsumer)
Performs the discovery and stores the discovered inventory in this object's inventory manager.
|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer) |
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 abstract <L,MT extends MeasurementType<L>> |
IntervalBasedScheduler.createJob(SamplingService<L> endpointService,
Collection<MeasurementInstance<L,MT>> instances,
Consumer<D> completionHandler) |
static IntervalBasedScheduler<AvailType<Object>,AvailDataPoint> |
IntervalBasedScheduler.forAvails(String name,
int schedulerThreads,
Consumer<AvailDataPoint> completionHandler)
Static method that builds a scheduler (along with its thread pool) for availability checking.
|
static IntervalBasedScheduler<MetricType<Object>,MetricDataPoint> |
IntervalBasedScheduler.forMetrics(String name,
int schedulerThreads,
Consumer<MetricDataPoint> completionHandler)
Static method that builds a scheduler (along with its thread pool) for metric collection.
|
| 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 Red Hat, Inc.. All rights reserved.