Revision 0a2f18a7 include/RaftManager.h

View differences:

include/RaftManager.h
367 367
    // -------------------------------------------------------------------------
368 368
    RaftReplicaManager replica_manager;
369 369

  
370
    HeartBeatManager   heartbeat_manager;
371

  
370 372
    unsigned int commit;
371 373

  
372 374
    std::map<int, unsigned int> next;
......
416 418
    // Internal Raft functions
417 419
    // -------------------------------------------------------------------------
418 420
	/**
419
	 *  Send the heartbeat to the followers.
420
	 */
421
	void send_heartbeat();
422

  
423
	/**
424 421
	 *  Request votes of followers
425 422
	 */
426 423
    void request_vote();

Also available in: Unified diff