Greetings for the day guys.
How parallel processing of files achieved through threads in java ?
let's say i have a folder containing 50 files in that. I want to create a thread pool of 10 size and each thread will pick the files one by one and process those files simultaneously.
let me provide some hint to achieve this functionality ...
Thanks, Good day.
What have you tried so far? This isn't a free coding service.
But don't imagine that processing files with 50 threads is going to be 50 times as fast as processing them with one thread. The disk isn't multi-threaded.