| 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 |
|---|---|
List<Resource<L>> |
InventoryEvent.getPayload() |
| Constructor and Description |
|---|
InventoryEvent(SamplingService<L> samplingService,
List<Resource<L>> payload)
Creates an inventory event.
|
| Modifier and Type | Method and Description |
|---|---|
Resource<L> |
Resource.Builder.build() |
Resource<L> |
Resource.getParent() |
Resource<L> |
ResourceManager.getParent(Resource<L> resource)
Returns the direct parent of the given resource.
|
Resource<L> |
ResourceManager.AddResult.getResource() |
Resource<L> |
ResourceManager.getResource(ID resourceId)
Given a resource ID this will return the resource with that ID that is found in the internal
hierarchical graph or
null if there is no resource with that ID in the graph. |
| Modifier and Type | Method and Description |
|---|---|
List<Resource<L>> |
ResourceManager.findResources(L query,
LocationResolver<L> locationResolver)
Find the resources in
ResourceManager.resourcesGraph matching the given query. |
Set<Resource<L>> |
ResourceManager.getChildren(Resource<L> resource)
Returns an immutable
Set of the direct children of the given resource. |
List<Resource<L>> |
ResourceManager.getResourcesBreadthFirst()
Returns an immutable
List of all Resources contained in ResourceManager.resourcesGraph in breadth-first
order. |
Set<Resource<L>> |
ResourceManager.getRootResources()
|
List<Resource<L>> |
ResourceManager.removeResources(L query,
LocationResolver<L> locationResolver)
Remove the resources from
ResourceManager.resourcesGraph matching the given query including all direct and
indirect descendants. |
| Modifier and Type | Method and Description |
|---|---|
ResourceManager.AddResult<L> |
ResourceManager.addResource(Resource<L> newResource)
Adds the given resource to the resource hierarchy, replacing the resource if it already exist but
has changed.
|
static <L> Resource.Builder<L> |
Resource.builder(Resource<L> template)
Creates a builder with the given resource as a starting template.
|
Set<Resource<L>> |
ResourceManager.getChildren(Resource<L> resource)
Returns an immutable
Set of the direct children of the given resource. |
Resource<L> |
ResourceManager.getParent(Resource<L> resource)
Returns the direct parent of the given resource.
|
Resource.Builder<L> |
Resource.Builder.parent(Resource<L> parent) |
| Constructor and Description |
|---|
AddResult(ResourceManager.AddResult.Effect effect,
Resource<L> resource) |
Builder(Resource<L> template) |
| Modifier and Type | Method and Description |
|---|---|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer)
Discovers children of the given type underneath the given parent.
|
| Modifier and Type | Method and Description |
|---|---|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer)
Discovers children of the given type underneath the given parent.
|
| Modifier and Type | Method and Description |
|---|---|
Resource<?> |
ScheduledMeasurementInstance.getResource() |
| 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> Set<ScheduledMeasurementInstance<LL,MetricType<LL>>> |
ScheduledMeasurementInstance.createMetrics(Resource<LL> resource)
This will create scheduled metric instances for all metrics associated with the given resource.
|
protected abstract Collection<ScheduledMeasurementInstance<L,T>> |
MeasurementScheduler.getScheduledMeasurementInstances(Resource<L> resource)
Given a resource, this returns the measurement instances that this scheduler should collect for it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MeasurementScheduler.schedule(SamplingService<L> endpointService,
Collection<Resource<L>> resources)
Schedules collections for all measurements for the given resources.
|
void |
ScheduledCollectionsQueue.unschedule(Collection<Resource<L>> resources)
Unschedules all measurement collections for all given resources.
|
void |
MeasurementScheduler.unschedule(SamplingService<L> endpointService,
Collection<Resource<L>> resources)
Removes any existing collections that are scheduled for the given resources.
|
<L> void |
SchedulerService.unschedule(SamplingService<L> service,
Collection<Resource<L>> resources) |
| Constructor and Description |
|---|
ScheduledMeasurementInstance(Resource<L> resource,
MeasurementInstance<L,T> measurementInstance) |
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.