GroupRaft

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

addPeer
void addPeer(ulong ID, string data)
Undocumented in source. Be warned that the author may not have intended to support it.
ready
void ready()
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(Message[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(ulong firstID, ulong[][ulong] regions, ClusterClient[] clients)
Undocumented in source. Be warned that the author may not have intended to support it.
step
void step(Message msg)
Undocumented in source. Be warned that the author may not have intended to support it.
tick
void tick()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_ID
ulong _ID;
Undocumented in source.
_clients
MessageTransfer[ulong] _clients;
Undocumented in source.
_mutex
Mutex _mutex;
Undocumented in source.
_rafts
Node[ulong] _rafts;
Undocumented in source.
_server
Server!(Base, MessageReceiver) _server;
Undocumented in source.
_storage
Storage _storage;
Undocumented in source.

Meta