< BACK TO TASKS Codewriting © You need to migrate a bunch of documents from an external resource. You're given a list of

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

< BACK TO TASKS Codewriting © You need to migrate a bunch of documents from an external resource. You're given a list of

Post by answerhappygod »

Back To Tasks Codewriting You Need To Migrate A Bunch Of Documents From An External Resource You Re Given A List Of 1
Back To Tasks Codewriting You Need To Migrate A Bunch Of Documents From An External Resource You Re Given A List Of 1 (103.22 KiB) Viewed 26 times
Back To Tasks Codewriting You Need To Migrate A Bunch Of Documents From An External Resource You Re Given A List Of 2
Back To Tasks Codewriting You Need To Migrate A Bunch Of Documents From An External Resource You Re Given A List Of 2 (66.61 KiB) Viewed 26 times
java multithread question
please provide code
< BACK TO TASKS Codewriting © You need to migrate a bunch of documents from an external resource. You're given a list of document identifiers documentIds, which can be used to access and process the external documents. Processing a single document takes time (it needs to be downloaded and processed), and all of these actions are done using the SingleDocumentProcessor interface (so we don't need to worry about how the documents are processed). Your task is to process the given document ids and return the corresponding list of processed documents. Try to take into account the following factors: Es make your solution applicable for multithreaded environments; think of an approach which is applicable for a distributed environment, where your code is executed in a cluster of several machines: • make your solution as efficient as possible. • [execution time limit) 50 seconds F? @-HESIE

src main V java com V codesignal V documentprocessor Document.java Document Processor Şervice.java SingleDocument Processor.java test V java com > codesignal < documentprocessor Basic Tests.java DocumentGenerator.java SingleDocument Processor Sleeping Stes.java SingleDocument ProcessorThrowings.java build.gradle @一亩三分地
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply