public interface ConfigurationDAO
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
findAvailableConfigurationsForCategory(String agentName,
String category) |
boolean |
isAvailable()
Checks whether the configuration service is unavailable or not.
|
ConfigurationView |
loadConfiguration(String agentName,
ConfigurationDescription configDescription)
For each pair 'category:configuration' in taggedCategories, the category is loaded
with its specified configuration, categories that are not mentioned are left untouched.
|
ConfigurationView |
loadGlobalConfiguration(String agentName,
String name,
int version)
Loads a pre-defined combination of category configurations.
|
ConfigurationDescription |
registerConfiguration(String agentName,
org.lsst.ccs.bus.data.ConfigurationInfo configInfo)
Request for a registration to the remote configuration server
|
ConfigurationDescription |
saveChangesForCategoriesAs(String agentName,
ConfigurationDescription configDesc,
org.lsst.ccs.bus.data.ConfigurationInfo configInfo)
Changes made in the specified categories are saved under the newly specified
name for this category, changes on parameters that belong to other categories
are left unchanged.
|
ConfigurationView loadConfiguration(String agentName, ConfigurationDescription configDescription) throws ConfigurationServiceException
agentName - the sender nameconfigDescription - the description of the configuration to load.ConfigurationServiceExceptionConfigurationDescription registerConfiguration(String agentName, org.lsst.ccs.bus.data.ConfigurationInfo configInfo) throws ConfigurationServiceException
agentName - the sender nameconfigInfo - a ConfigurationInfo object that describes the current subsystem's configuration stateConfigurationServiceExceptionConfigurationDescription saveChangesForCategoriesAs(String agentName, ConfigurationDescription configDesc, org.lsst.ccs.bus.data.ConfigurationInfo configInfo) throws ConfigurationServiceException
agentName - the sender nameconfigDesc - the categories to save and their new tagconfigInfo - the current configuration infoConfigurationServiceException - if the configuration service is not available.ConfigurationView loadGlobalConfiguration(String agentName, String name, int version)
agentName - the sender namename - version - the version of the global configuration tag. If negative,
returns the latest versionSet<String> findAvailableConfigurationsForCategory(String agentName, String category)
boolean isAvailable()
Copyright © 2019 LSST. All rights reserved.