I have stacked for weeks trying to find a solution on this. Im coming back over and over again to the same. Java 's ScheduledThreadPoolExecutor alternatives... but nothing does this.
What I want is to execute jobs syncrhonized/serially inside a scheduler, having lot of schedulers doing that independentely from each other, backed by one single threadpool...
I have a server application in java and what I need is to create hundreds and thousands of schedulers.
I want each scheduler to execute its jobs serially and syncrhonized.
All schedulers can run concurrently and independently but I also need to limit the number of the threads of all schedulers by using a threadpool (not threadpool per scheduler, but one threadpool for ALL schedulers!). Also the ability to pause/resume jobs and put them inside groups would be great. any solutions? thanks in advance!