protected RaftPartitionServer createServer ( PartitionManagementService managementService ) { return new RaftPartitionServer ( this , config , managementService . getMembershipService ( ) . getLocalMember ( ) . id ( ) , managementService . getMembershipService ( ) , managementService . getMessagingService ( ) , managementService . getPrimitiveTypes ( ) , threadContextFactory ) ; }
Creates a Raft server .