RT - resource typeMT - metric typeAT - avail typeO - operation typeRCPT - resource configuration property definitionR - resourceME - monitored endpointpublic abstract class InventoryManager<RT extends ResourceType<MT,AT,O,RCPT>,MT extends MetricType,AT extends AvailType,O extends Operation,RCPT extends ResourceConfigurationPropertyType,R extends Resource<RT,?,?,?,?>,ME extends MonitoredEndpoint> extends Object
| Constructor and Description |
|---|
InventoryManager(String feedId,
MetadataManager<RT,MT,AT,O,RCPT> metadataManager,
ResourceManager<R> resourceManager,
ManagedServer managedServer,
ME endpoint) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
discoverResources(org.jgrapht.event.VertexSetListener<R> listener)
Populate the inventory with resources that can be automatically discovered.
|
ME |
getEndpoint() |
String |
getFeedId() |
ManagedServer |
getManagedServer() |
MetadataManager<RT,MT,AT,O,RCPT> |
getMetadataManager() |
ResourceManager<R> |
getResourceManager() |
public InventoryManager(String feedId, MetadataManager<RT,MT,AT,O,RCPT> metadataManager, ResourceManager<R> resourceManager, ManagedServer managedServer, ME endpoint)
public ResourceManager<R> getResourceManager()
public ManagedServer getManagedServer()
public ME getEndpoint()
public String getFeedId()
public abstract void discoverResources(org.jgrapht.event.VertexSetListener<R> listener)
MetadataManager.getResourceTypeManager()) will be discovered.
Once this returns successfully, getResourceManager() should be populated with resources.listener - if not null, will be a listener that gets notified when resources are discoveredCopyright © 2015 Red Hat, Inc.. All rights reserved.