| 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(String feedId,
MonitoredEndpoint endpoint,
SamplingService<L> samplingService,
List<Resource<L>> payload) |
| 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.getResource(ID resourceId)
Given a resource ID this will return the resource with that ID or
null if there is no resource with
that ID. |
| 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 |
|---|---|
void |
ResourceManager.addResource(Resource<L> newResource)
Adds the given resource to the resource hierarchy.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceManager.replaceResources(List<Resource<L>> newResources)
Replaces the set of
Resources currently available in ResourceManager.resourcesGraph with the resources from the
given newResources list. |
| Modifier and Type | Method and Description |
|---|---|
<N> void |
Discovery.discoverChildren(Resource<L> parent,
ResourceType<L> childType,
Session<L> session,
Consumer<Resource<L>> resourceConsumer) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <L,MT extends MeasurementType<L>> |
IntervalBasedScheduler.getMeasurementInstances(Resource<L> resource) |
| Modifier and Type | Method and Description |
|---|---|
<L,TT extends MeasurementType<L>> |
IntervalBasedScheduler.rescheduleAll(SamplingService<L> endpointService,
List<Resource<L>> resources)
This will reschedule all metric collection and avail checking jobs for the given endpoint.
|
<L,TT extends MeasurementType<L>> |
IntervalBasedScheduler.schedule(SamplingService<L> endpointService,
List<Resource<L>> resources)
Schedules metric collections and avail checks for the given resources.
|
<L,TT extends MeasurementType<L>> |
IntervalBasedScheduler.unschedule(SamplingService<L> endpointService,
List<Resource<L>> resources)
Removes any existing metric collections and avail checks that are scheduled for the given resources.
|
Copyright © 2015 Red Hat, Inc.. All rights reserved.