threadpool 2 « ThreadPool « Java Thread Q&A

Home
Java Thread Q&A
1.concurrency
2.Development
3.Exception
4.Notify
5.Operation
6.Socket
7.State
8.synchronize
9.Thread Safe
10.ThreadPool
Java Thread Q&A » ThreadPool » threadpool 2 

1. Thread Pooling    forums.oracle.com

2. Pool of worker threads    forums.oracle.com

3. Does HashMap work fine in thread pool ?    forums.oracle.com

i have some problems about java.util.map. i design a website, it has a summary page and a detail page. it reads the data from xml file on harddisk for each model. i wanna cache data in a map( the data is a byte array), in other word, when user navigates back to summary page from detail page, it is no need ...

4. Thread Pool Is Not Terminating    forums.oracle.com

Hi All; I am trying to stop java program which are running continuously in a while loop and loop is looking for a stop file. When I am trying to stop java program through a Unix stop script, which will create a stop file . It is working fine with normal program where threading is not involved but multi threaded program(Via ...

5. Threadpool idle time    forums.oracle.com

As far as I can see these set a maximum and minimum thread count. If there are more that the core number of threads then the ThreadPoolExecutor will close the extra ones if they haven't been used for the keepAlive time. So the thread pool grows up to the maximum if there's enough trafic to keep them busy but, if there ...

6. Need Single threaded pool example    forums.oracle.com

7. How to Use Thread Pool Here - Plz Help    forums.oracle.com

I have a Mailer Application. I want to send multiple mails at a time using this ThreadPool class. Now Here are My Question Regarding this Thread Pool. 1. I have a Class MailSender.java, Now In constructor i m creating a session to server. and I have a method sendMail() to send a Mail. Now How should I modify this class to ...

9. best approach?...creating new Thread or using Thread pool    forums.oracle.com

Hi, since i didn't get correct reply, i am posting it again.Please sorry for that. Assume you will receive 100 request/min to process and each request will take 2 mins. the request will keep on coming. for this assumption, Please can anyone tell me which approach is best? Creating a new Thread for each request or using Thread pool. can you ...

10. best approach?...creating new Thread or using Thread pool    forums.oracle.com

Hi, Assume you will receive 100 request/min to process and each request will take 2 mins. the request will keep on coming. for this assumption, Please can anyone tell me which approach is best? Creating a new Thread for each request or using Thread pool. can you justify with analytical data(like time taken to execute). and also please tell me when ...

11. Making a Thread Pool    forums.oracle.com

hi, I need to know if its possible to make a thread pool in java where the size of the threads in pool varies by user input (basically on the work load but is not Dynamic say only like 3 variables 10,15,20 threads ) The threads do not behave in a FIFO method. I mean like say thread 7 has finished ...

12. regarding threads & thread pooling ?    forums.oracle.com

Hello all, I nave a server running (a simple socket to which clients connect to) each client has a username & password; upon authentication each client is set as 'Bound' ; there may be multiple clients connecting with the same username/password. Each client will receive n number of sms (binary data packets) from the server. but each sms is sent only ...

13. Threads Pool    forums.oracle.com

14. thread status in a threadpool    forums.oracle.com

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.