@Service @Singleton public class ApplicationRegistry extends Object implements MonitoringDataSource
Constructor and Description |
---|
ApplicationRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
ApplicationInfo info) |
void |
addTransient(Deployment.ApplicationDeployment depl)
transient apps are deployed, but not initialized yet
|
void |
collect(MonitoringDataCollector rootCollector)
Collects all the data points of this at the current moment.
|
ApplicationInfo |
get(String name) |
Set<String> |
getAllApplicationNames() |
Deployment.ApplicationDeployment |
getTransient(String appName) |
void |
remove(String name) |
void |
removeTransient(String appName) |
public void add(String name, ApplicationInfo info)
public ApplicationInfo get(String name)
public void remove(String name)
public void addTransient(Deployment.ApplicationDeployment depl)
depl
- public void removeTransient(String appName)
public Deployment.ApplicationDeployment getTransient(String appName)
public void collect(MonitoringDataCollector rootCollector)
MonitoringDataSource
collect
in interface MonitoringDataSource
rootCollector
- the MonitoringDataCollector
instance to use to collect the data points of this sourceCopyright © 2019. All rights reserved.