public void start ( ) { if ( ! raftIntegration . isReady ( ) ) { raftIntegration . schedule ( new Runnable ( ) { @ Override public void run ( ) { start ( ) ; } } , RAFT_NODE_INIT_DELAY_MILLIS , MILLISECONDS ) ; return ; } if ( logger . isFineEnabled ( ) ) { logger . fine ( "Starting raft node: " + localMember + " for " + groupId + " with " + state . memberCount ( ) + " members: " + state . members ( ) ) ; } raftIntegration . execute ( new PreVoteTask ( this , 0 ) ) ; scheduleLeaderFailureDetection ( ) ; }
Starts the periodic tasks such as voting leader failure - detection snapshot handling .