Slides Concurrency ExecutorService Challenge
Slides Concurrency ExecutorService Challenge
In this challenge, I want you to modify, and enhance, the Shoe Warehouse
Fulfillment code you created, from the previous challenge video.
You should use ExecutorService classes, any of the three that I've covered, so use a
SingleThreadExecutor, a FixedThreadPool, or a CachedThreadPool, or a combination
of these.
You'll use these, instead of managing individual threads, as you did in that previous
challenge.
• Add an ExecutorService in the main method, to send orders to the warehouse.
• Add an ExecutorService to the ShoeWarehouse class, which will fulfill orders.