Threadpool « Socket « 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 » Socket » Threadpool 

1. Java Threadpool vs. new Thread in high request scenario    stackoverflow.com

I have some old java code for a REST service that uses a separate thread for every incoming request. I.e. the main loop would loop on socket.accept() and hand off the ...

2. RMI - Threadpool child threads socket permission issue    stackoverflow.com

I've a Threadpool whose scheduled threads access the redis pool and perform some query with it. I create the JedisPool instance as static in a class in which ThreadPool is created. I ...

3. Problem with cleaning up a thread pool    stackoverflow.com

I have a server in Java which is multithreading, and I've created a thread pool for it. Now everything goes well and my server accepts and reads data from the clients that ...

4. Thread Pool Management in SocketServer.    coderanch.com

Hi All, I have developed a Socket Server which initializes some threads at the start-up..I need some help on: 1./How to spawn new threads with the increasing Concurrent request(one way is to increase pool size is in batch) 2./How to kill Idle threads? 3./How the incoming Concurrent Requests can be made to wait untill some threads get freed. Is there open ...

5. If not listening to socket but might later, kill threads in pool, recreate?    coderanch.com

I have an app that has a pool of threads which wait to be passed a socket (from ServerSocket.accept()). The user can click a "do not disturb" button which will stop them from being notified of info coming in to the socket. Is it better performance-wise (or otherwise) when the don't disturb is selected to: 1. kill all threads in the ...

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.