@ApplicationScoped public class InventoryCDIStorage extends Object implements InventoryStorage
| Constructor and Description |
|---|
InventoryCDIStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPredictionRelationship(org.hawkular.inventory.api.model.Relationship relationship) |
void |
init() |
org.hawkular.inventory.api.model.Metric |
metric(org.hawkular.inventory.api.model.CanonicalPath metric) |
Set<org.hawkular.inventory.api.model.Metric> |
metricsOfType(org.hawkular.inventory.api.model.CanonicalPath metricType) |
Set<org.hawkular.inventory.api.model.Metric> |
metricsUnderTenant(org.hawkular.inventory.api.model.CanonicalPath tenant) |
Set<org.hawkular.inventory.api.model.Relationship> |
predictionRelationships(org.hawkular.inventory.api.model.CanonicalPath... targetEntity) |
void |
removePredictionRelationship(org.hawkular.inventory.api.model.Relationship relationship) |
@PostConstruct public void init()
public Set<org.hawkular.inventory.api.model.Relationship> predictionRelationships(org.hawkular.inventory.api.model.CanonicalPath... targetEntity)
predictionRelationships in interface InventoryStoragepublic org.hawkular.inventory.api.model.Metric metric(org.hawkular.inventory.api.model.CanonicalPath metric)
metric in interface InventoryStoragepublic Set<org.hawkular.inventory.api.model.Metric> metricsOfType(org.hawkular.inventory.api.model.CanonicalPath metricType)
metricsOfType in interface InventoryStoragepublic Set<org.hawkular.inventory.api.model.Metric> metricsUnderTenant(org.hawkular.inventory.api.model.CanonicalPath tenant)
metricsUnderTenant in interface InventoryStoragepublic void addPredictionRelationship(org.hawkular.inventory.api.model.Relationship relationship)
addPredictionRelationship in interface InventoryStoragepublic void removePredictionRelationship(org.hawkular.inventory.api.model.Relationship relationship)
removePredictionRelationship in interface InventoryStorageCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.