#include <DistributedStorageManagerServer.h>
|
| | DistributedStorageManagerServer (PDBLoggerPtr logger, ConfigurationPtr conf, std::shared_ptr< StatisticsDB > statisticsDB) |
| |
| | DistributedStorageManagerServer (PDBLoggerPtr logger, std::shared_ptr< StatisticsDB > statisticsDB) |
| |
| | ~DistributedStorageManagerServer () |
| |
| void | registerHandlers (PDBServer &forMe) override |
| |
| | BroadcastServer (PDBLoggerPtr logger, ConfigurationPtr conf) |
| |
| | BroadcastServer (PDBLoggerPtr logger) |
| |
| | ~BroadcastServer () |
| |
| template<class MsgType , class PayloadType , class ResponseType > |
| void | broadcast (Handle< MsgType > broadcastMsg, Handle< Vector< Handle< PayloadType >>> broadCastData, std::vector< std::string > receivers, std::function< void(Handle< ResponseType >, std::string)> successCallBack, std::function< void(std::string, std::string)> errorCallBack=[](std::string errMsg, std::string serverName){}) |
| |
| virtual void | cleanup () |
| |
| template<class Functionality > |
| Functionality & | getFunctionality () |
| |
| void | recordServer (PDBServer &recordMe) |
| |
| PDBWorkerPtr | getWorker () |
| |
| PDBLoggerPtr | getLogger () |
| |
|
| bool | findNodesForDatabase (const std::string &databaseName, std::vector< std::string > &nodesForDatabase, std::string &errMsg) |
| |
| bool | findNodesContainingDatabase (const std::string &databaseName, std::vector< std::string > &nodesContainingDatabase, std::string &errMsg) |
| |
| bool | findNodesForSet (const std::string &databaseName, const std::string &setName, std::vector< std::string > &nodesContainingSet, std::string &errMsg) |
| |
| bool | findNodesContainingSet (const std::string &databaseName, const std::string &setName, std::vector< std::string > &nodesContainingSet, std::string &errMsg) |
| |
std::function< void(Handle
< SimpleRequestResult >
, std::string)> | generateAckHandler (std::vector< std::string > &success, std::vector< std::string > &failures, mutex &lock) |
| |
| pdb::DistributedStorageManagerServer::DistributedStorageManagerServer |
( |
PDBLoggerPtr |
logger, |
|
|
std::shared_ptr< StatisticsDB > |
statisticsDB |
|
) |
| |
| pdb::DistributedStorageManagerServer::~DistributedStorageManagerServer |
( |
| ) |
|
| bool pdb::DistributedStorageManagerServer::findNodesContainingDatabase |
( |
const std::string & |
databaseName, |
|
|
std::vector< std::string > & |
nodesContainingDatabase, |
|
|
std::string & |
errMsg |
|
) |
| |
|
private |
| bool pdb::DistributedStorageManagerServer::findNodesContainingSet |
( |
const std::string & |
databaseName, |
|
|
const std::string & |
setName, |
|
|
std::vector< std::string > & |
nodesContainingSet, |
|
|
std::string & |
errMsg |
|
) |
| |
|
private |
| bool pdb::DistributedStorageManagerServer::findNodesForDatabase |
( |
const std::string & |
databaseName, |
|
|
std::vector< std::string > & |
nodesForDatabase, |
|
|
std::string & |
errMsg |
|
) |
| |
|
private |
| bool pdb::DistributedStorageManagerServer::findNodesForSet |
( |
const std::string & |
databaseName, |
|
|
const std::string & |
setName, |
|
|
std::vector< std::string > & |
nodesContainingSet, |
|
|
std::string & |
errMsg |
|
) |
| |
|
private |
| std::function< void(Handle< SimpleRequestResult >, std::string)> pdb::DistributedStorageManagerServer::generateAckHandler |
( |
std::vector< std::string > & |
success, |
|
|
std::vector< std::string > & |
failures, |
|
|
mutex & |
lock |
|
) |
| |
|
private |
| void pdb::DistributedStorageManagerServer::registerHandlers |
( |
PDBServer & |
forMe | ) |
|
|
overridevirtual |
| std::shared_ptr<StatisticsDB> pdb::DistributedStorageManagerServer::statisticsDB |
|
private |
The documentation for this class was generated from the following files: