InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
execute Topology Manager actor More...
#include <TopologyMgr.h>
Public Member Functions | |
TopologyMgr (Topology::partitionAddress *myIdentityArg) | |
TopologyMgr (const TopologyMgr &orig) | |
virtual | ~TopologyMgr () |
Private Member Functions | |
void | updateLocalConfig (msgpack::unpacker &pac, msgpack::unpacked &result) |
local (node-specific) Topology update More... | |
void | updateGlobalConfig (msgpack::unpacker &pac, msgpack::unpacked &result) |
global (cluster wide) Topology update More... | |
void | broadcastConfig () |
tell all local actors to update their versions of Topology More... | |
Private Attributes | |
Topology::partitionAddress | myIdentity |
class Mboxes | mboxes |
class Topology | myTopology |
execute Topology Manager actor
myIdentityArg | how to identify this |
Definition at line 53 of file TopologyMgr.h.
TopologyMgr::TopologyMgr | ( | Topology::partitionAddress * | myIdentityArg) |
Definition at line 48 of file TopologyMgr.cc.
References cfg_s::anonymousping, cfg_s::badloginmessages, deadlockMgr(), engine(), ibGateway(), Topology::partitionAddress::instance, listener(), logfile, Topology::partitionAddress::mbox, myIdentity, Topology::newActor(), nodeTopology, obGateway(), replyToManager(), transactionAgent(), updateGlobalConfig(), updateLocalConfig(), userSchemaMgr(), zmqcontext, and zmqsocket.
TopologyMgr::TopologyMgr | ( | const TopologyMgr & | orig) |
Definition at line 590 of file TopologyMgr.cc.
|
virtual |
Definition at line 594 of file TopologyMgr.cc.
|
private |
tell all local actors to update their versions of Topology
Definition at line 936 of file TopologyMgr.cc.
References Topology::addressStruct::actorid, Mboxes::actoridToProducers, Topology::actorList, Message::message_s::destAddr, mboxes, Message::messageStruct, myTopology, Topology::addressStruct::nodeid, Topology::nodeid, PAYLOADMESSAGE, Message::message_s::payloadtype, Message::message_s::sourceAddr, Message::message_s::topic, TOPIC_TOPOLOGY, and Mboxes::update().
Referenced by updateGlobalConfig(), and updateLocalConfig().
|
private |
global (cluster wide) Topology update
transmitted by manager process over 0mq serialized by msgpack
pac | msgpack unpacker object |
result | result of unpacking |
Definition at line 702 of file TopologyMgr.cc.
References Topology::activereplica, Topology::addressStruct::actorid, Topology::actorList, Topology::partitionAddress::address, Topology::allActors, Topology::allActorsThisReplica, Topology::partitionAddress::argstring, broadcastConfig(), Topology::deadlockMgrMbox, Topology::deadlockMgrNode, Topology::partitionAddress::epollfd, Topology::ibGateways, Topology::partitionAddress::instance, Topology::partitionAddress::mbox, myTopology, Topology::addressStruct::nodeid, Topology::nodeid, nodeTopology, nodeTopologyMutex, Topology::numpartitions, Topology::numreplicas, Topology::partitionList, Topology::partitionListThisReplica, Topology::replicaMembers, Topology::tas, Topology::partitionAddress::type, Topology::userSchemaMgrMbox, and Topology::userSchemaMgrNode.
Referenced by TopologyMgr().
|
private |
local (node-specific) Topology update
transmitted by manager process over 0mq serialized by msgpack
pac | msgpack unpacker object |
result | result of unpacking |
Definition at line 618 of file TopologyMgr.cc.
References Topology::addressStruct::actorid, Topology::actorList, Topology::partitionAddress::address, Topology::partitionAddress::argstring, broadcastConfig(), Topology::partitionAddress::epollfd, Topology::partitionAddress::instance, Topology::partitionAddress::mbox, Topology::addressStruct::nodeid, Topology::nodeid, nodeTopology, nodeTopologyMutex, Topology::numengines, Topology::numobgateways, Topology::numtransactionagents, and Topology::partitionAddress::type.
Referenced by TopologyMgr().
|
private |
Definition at line 85 of file TopologyMgr.h.
Referenced by broadcastConfig().
|
private |
Definition at line 84 of file TopologyMgr.h.
Referenced by TopologyMgr().
|
private |
Definition at line 86 of file TopologyMgr.h.
Referenced by broadcastConfig(), and updateGlobalConfig().