distrax.mgrs.abstract_mgr class#

This holds the AbstractMgr Class, which is expected to be used as a template for all created MGR classes.

class distrax.mgrs.abstract_mgr.AbstractMGR(*args, **kwargs)[source]#

An interface for MON Classes.

A MGR is the cluster manager daemon, this is often used to maintain cluster health, and make sure that all the parts of the cluster can communicate.

This is designed such plugins of the MGR can be made easily. The only methods publicly visible to the user should be create_mgr and remove_mgr

create_mgr()[source]#

Create the manager node.

Return type:

None

remove_mgr()[source]#

Remove the manager node.

Return type:

None