| Package | Description |
|---|---|
| org.hawkular.agent.monitor.inventory | |
| org.hawkular.agent.monitor.protocol.platform |
| Modifier and Type | Field and Description |
|---|---|
protected ID |
NodeLocationProvider.Builder.id |
static ID |
ID.NULL_ID |
| Modifier and Type | Method and Description |
|---|---|
static ID |
InventoryIdUtil.generateAvailInstanceId(String feedId,
ID resourceId,
AvailType<?> availType)
Generates an ID for an
AvailInstance. |
static ID |
InventoryIdUtil.generateMetricInstanceId(String feedId,
ID resourceId,
MetricType<?> metricType)
Generates an ID for an
MetricInstance. |
static ID |
InventoryIdUtil.generateResourceId(MonitoredEndpoint<? extends MonitorServiceConfiguration.AbstractEndpointConfiguration> endpoint,
String idPart)
Generates an ID for a resource.
|
ID |
IDObject.getID() |
| Modifier and Type | Method and Description |
|---|---|
int |
ID.compareTo(ID other) |
static ID |
InventoryIdUtil.generateAvailInstanceId(String feedId,
ID resourceId,
AvailType<?> availType)
Generates an ID for an
AvailInstance. |
static ID |
InventoryIdUtil.generateMetricInstanceId(String feedId,
ID resourceId,
MetricType<?> metricType)
Generates an ID for an
MetricInstance. |
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. |
TypeSet.TypeSetBuilder<T> |
TypeSet.TypeSetBuilder.id(ID id) |
This |
NodeLocationProvider.Builder.id(ID id) |
| Modifier and Type | Method and Description |
|---|---|
List<Resource<L>> |
ResourceManager.getAllResources(Collection<ID> filter) |
| Constructor and Description |
|---|
AttributeLocationProvider(ID id,
Name name,
AttributeLocation<L> attributeLocation) |
AvailType(ID id,
Name name,
AttributeLocation<L> location,
Interval interval,
Pattern upPattern,
String metricIdTemplate,
Map<String,String> metricTags) |
IDObject(ID id) |
Instance(ID id,
Name name,
AttributeLocation<L> attributeLocation,
T type) |
MeasurementInstance(ID id,
Name name,
AttributeLocation<L> attributeLocation,
T type) |
MeasurementType(ID id,
Name name,
AttributeLocation<L> location,
Interval interval,
String metricIdTemplate,
Map<String,String> metricTags) |
MetricType(ID id,
Name name,
AttributeLocation<L> location,
Interval interval,
org.jboss.as.controller.client.helpers.MeasurementUnit metricUnits,
org.hawkular.metrics.client.common.MetricType metricType,
String metricIdTemplate,
Map<String,String> metricTags) |
NamedObject(ID id,
Name name)
Creates a named object.
|
NodeLocationProvider(ID id,
Name name,
L location) |
Operation(ID id,
Name name,
L location,
String internalName,
List<OperationParam> params)
Creates an operation definition based on the given information.
|
ResourceConfigurationPropertyInstance(ID id,
Name name,
AttributeLocation<L> attributeLocation,
ResourceConfigurationPropertyType<L> type,
String value) |
ResourceConfigurationPropertyType(ID id,
Name name,
AttributeLocation<L> attributeLocation) |
| Modifier and Type | Method and Description |
|---|---|
ID |
Constants.PlatformMetricType.getMetricTypeId() |
ID |
Constants.PlatformResourceType.getResourceTypeId() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ID> |
Constants.PlatformResourceType.getMetricTypeIds() |
| Modifier and Type | Method and Description |
|---|---|
Double |
OshiPlatformCache.getFileStoreMetric(String fileStoreNameName,
ID metricToCollect)
Returns the given metric's value, or null if there is no file store with the given name.
|
Double |
OshiPlatformCache.getMemoryMetric(ID metricToCollect)
Returns the given memory metric's value.
|
Double |
OshiPlatformCache.getMetric(PlatformResourceNode node,
ID metricToCollect)
Given a platform resource node and a metric name, this will return that metric's value,
or null if there is no resource that can be identified by the node.
|
Double |
OshiPlatformCache.getOperatingSystemMetric(ID metricId)
Returns the given OS metric's value.
|
Double |
OshiPlatformCache.getPowerSourceMetric(String powerSourceName,
ID metricToCollect)
Returns the given metric's value, or null if there is no power source with the given name.
|
Double |
OshiPlatformCache.getProcessorMetric(String processorNumber,
ID metricToCollect)
Returns the given metric's value, or null if there is no processor with the given number.
|
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.