I'm gonna implement a scheduler using thread pool & priority queue in Java and I want to ask whether anybody knows any existing implementations or not, so I don't have spend ...
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 ...
I'm using ScheduledThreadPoolExecutor.schedule(Runnable,int,TimeUnit) to schedule some objects of a class that implements Runnable.
At some point in time, my application is then shutting down, and I use ScheduledThreadPoolExecutor.shutdownNow(). According to ...
Suppose 50K Runnables are to be scheduled to execute indefinitely every 30 mins.
Each Runnable will take 1-5 secs, and perform one Socket operation.
The TheadPool is of 200 size.
Now How ...
I have to launch 10 tasks asynchronously at variable times through out the day until a certain hour the next day. The closer I get to the time the next day ...