5#ifndef DBREPLICASVC_DBREPLICASVC_H
6#define DBREPLICASVC_DBREPLICASVC_H
14#include "RelationalAccess/IDatabaseServiceDescription.h"
19 using base_class::base_class;
23 void sort(std::vector<const coral::IDatabaseServiceDescription*>& replicaSet)
override;
28 Gaudi::Property<std::string>
m_configfile{
this,
"ConfigFile",
"dbreplica.config"};
29 Gaudi::Property<std::string>
m_testhost{
this,
"TestHost",
""};
34 Gaudi::Property<bool>
m_nofailover{
this,
"DisableFailover",
false};
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_testhost
Gaudi::Property< bool > m_usegeomsqlite
void sort(std::vector< const coral::IDatabaseServiceDescription * > &replicaSet) override
std::pair< std::string, int > ServerPair
Gaudi::Property< bool > m_usecoolsqlite
Gaudi::Property< bool > m_nofailover
Gaudi::Property< std::string > m_coolsqlitepattern
std::vector< ServerPair > m_servermap
Gaudi::Property< std::string > m_configfile
Gaudi::Property< bool > m_usecoolfrontier