17 #ifndef CONFIGURATIONPERSISTENCEMANAGER_HPP_
18 #define CONFIGURATIONPERSISTENCEMANAGER_HPP_
22 #include <boost/thread/mutex.hpp>
42 , ignoreConfigurationUpdate_(false)
74 typedef boost::mutex mutex_type;
75 typedef boost::unique_lock<mutex_type> lock_type;
77 void readStoredConfiugration();
79 mutex_type schemaGuard_;
80 mutex_type confPersistenceGuard_;
85 boost::shared_ptr<avro::ValidSchema> schema_;
87 bool ignoreConfigurationUpdate_;
ConfigurationPersistenceManager()
void onSchemaUpdated(boost::shared_ptr< avro::ValidSchema > schema)
void setConfigurationStorage(IConfigurationStorage *storage)
void onConfigurationUpdated(const ICommonRecord &configuration)
EndpointObjectHash getConfigurationHash()
void setConfigurationProcessor(IConfigurationProcessor *processor)
~ConfigurationPersistenceManager()