InfiniSQL  v0.1.2-alpha
Massive Scale Transaction Processing
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TopologyMgr.h File Reference

Actor which receives configuration commands over 0mq and MessagePack from infinisqlmgr.py. More...

#include "gch.h"
#include "cfgenum.h"
Include dependency graph for TopologyMgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TopologyMgr
 execute Topology Manager actor More...
 

Functions

void * topologyMgr (void *identity)
 launch Topology Manager actor More...
 

Detailed Description

Actor which receives configuration commands over 0mq and MessagePack from infinisqlmgr.py.

Author
Mark Travis mtrav.nosp@m.is15.nosp@m.432+s.nosp@m.rc@g.nosp@m.mail..nosp@m.com
Date
Tue Dec 17 13:59:59 2013

Launches all other actors, updates Topology, and distributes configuration changes to all other actors on each node. Facilitates dynamic reconfiguration.

Definition in file TopologyMgr.h.

Function Documentation

void* topologyMgr ( void *  identity)

launch Topology Manager actor

Parameters
identityhow to identify actor instance
Returns

Launcher function for TopologyMgr actor

Definition at line 599 of file TopologyMgr.cc.

600 {
601  new TopologyMgr((Topology::partitionAddress *)identity);
602  while (1)
603  {
604  sleep(1000000);
605  }
606  return NULL;
607 }