Hi,
I tried this usage example :
http://java.sun.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html
Now, I'd like to do this:
poolSize=3 for 0-2 Worker Threads
poolSize=6 for 3-5 Worker Threads
...
If count of workerThreads is decreased then adjust poolSize.
Could you give me any idea?
I tried this usage example :
http://java.sun.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html
Now, I'd like to do this:
poolSize=3 for 0-2 Worker Threads
poolSize=6 for 3-5 Worker Threads
...
If count of workerThreads is decreased then adjust poolSize.
Could you give me any idea?