| Modifier and Type | Method and Description |
|---|---|
ResourceMetadata |
ResourceMetadata.putAttribute(String key,
String value) |
ResourceMetadata |
ResourceMetadata.putMetric(String metric) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<ResourceMetadata> |
GuavaResourceMetadataCache.get(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resourceId) |
com.google.common.base.Optional<ResourceMetadata> |
ResourceMetadataCache.get(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resource)
Returns an
Optional of the ResourceMetadata for context and
resource, or Optional.absent() if one does not exist. |
| Modifier and Type | Method and Description |
|---|---|
void |
GuavaResourceMetadataCache.merge(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resource,
ResourceMetadata metadata) |
void |
ResourceMetadataCache.merge(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resource,
ResourceMetadata rMetadata)
Merges the contents of a
ResourceMetadata with the cached instance corresponding to
context and resource. |
boolean |
ResourceMetadata.merge(ResourceMetadata other)
Merges the metrics and attributes from the given instance, to the current instance.
|
Copyright © 2016. All rights reserved.