Package org.eso.ias.converter.config
Class Cache
java.lang.Object
org.eso.ias.converter.config.ConfigurationDaoBase
org.eso.ias.converter.config.Cache
- All Implemented Interfaces:
IasioConfigurationDAO
A cache of IasioDao for the
ValueMapper.
This class replaces IasioConfigurationDaoImpl with PCache
This class stores IasiosDao and templates.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(String mpId) Get the configuration of the the monitor point with the passed ID.protected voidsetUp()Initialize the DAO.protected voidtearDown()Shuts down the DAOMethods inherited from class org.eso.ias.converter.config.ConfigurationDaoBase
close, initialize, isClosed, isInitialized
-
Constructor Details
-
Cache
-
-
Method Details
-
setUp
Initialize the DAO. Stores in the cache the IasioDaos and TemplateDaos read from the CDB- Specified by:
setUpin classConfigurationDaoBase- Throws:
ConfigurationException- The exception returned in case of error initializing
-
tearDown
Shuts down the DAO- Specified by:
tearDownin classConfigurationDaoBase- Throws:
ConfigurationException- in case of error shutting down
-
getConfiguration
Get the configuration of the the monitor point with the passed ID.- Parameters:
mpId- The notnullnor empty ID of the MP- Returns:
- The configuration of the MP with the passed ID
or
nullif such configuration does not exist
-