| Package | Description |
|---|---|
| org.hawkular.agent.monitor.api | |
| org.hawkular.agent.monitor.inventory | |
| org.hawkular.agent.monitor.protocol | |
| org.hawkular.agent.monitor.scheduler |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
Collection<MeasurementInstance<L,AvailType<L>>> |
Resource.getAvails() |
Collection<AvailType<L>> |
ResourceType.getAvailTypes() |
Map<Name,TypeSet<AvailType<L>>> |
TypeSets.getAvailTypeSets() |
Map<Name,TypeSet<AvailType<L>>> |
TypeSets.Builder.getAvailTypeSets() |
| Modifier and Type | Method and Description |
|---|---|
static ID |
InventoryIdUtil.generateAvailInstanceId(String feedId,
ID resourceId,
AvailType<?> availType)
Generates an ID for an
AvailInstance. |
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder<L> |
Resource.Builder.avail(MeasurementInstance<L,AvailType<L>> avail) |
This |
ResourceType.Builder.availTypes(Collection<AvailType<L>> types) |
TypeSets.Builder<L> |
TypeSets.Builder.availTypeSet(TypeSet<AvailType<L>> typeSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
EndpointService.measureAvails(Collection<MeasurementInstance<L,AvailType<L>>> instances,
Consumer<AvailDataPoint> consumer) |
| Modifier and Type | Method and Description |
|---|---|
static <LL> Set<ScheduledMeasurementInstance<LL,AvailType<LL>>> |
ScheduledMeasurementInstance.createAvails(Resource<LL> resource)
This will create scheduled avail check instances for all availabilities associated with the given resource.
|
static <LL> MeasurementScheduler<LL,AvailType<LL>,AvailDataPoint> |
MeasurementScheduler.forAvails(String name,
Consumer<AvailDataPoint> completionHandler)
Static method that builds a scheduler for availability checking.
|
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.