I’m writing an application that has 5 threads that get some information from web simultaneously and fill 5 different fields in a buffer class.
I need to validate buffer data and store it in a database when all threads finished their job.
How can I do this (get alerted when all threads finished their work) ?
I’m writing an application that has 5 threads that get some information from web
Share
The approach I take is to use an ExecutorService to manage pools of threads.