r1457@opsdev009 (orig r77260): mcslee | 2008-01-10 11:57:47 -0800
commit14f5b4ced9bf0ced0570223bb71aabca92e80c35
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Thu, 10 Jan 2008 20:01:06 +0000 (10 20:01 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Thu, 10 Jan 2008 20:01:06 +0000 (10 20:01 +0000)
tree3b3d94d10fb25b1f88b843132fc9768260896786
parentf61db03e381678f606f158b3fec2544c5debdcb2
 r1457@opsdev009 (orig r77260):  mcslee | 2008-01-10 11:57:47 -0800
 Chagnge TThreadPoolServer in Java to use SynchronousQueue by default

 Summary: Read the documentation on ThreadPoolExecutor. It's very confusing. Basically, what we want is a queue that always defers to the threadpool and will always create a new thread to do work. We never want the queue to take priority over the thread pool by default.

 Reviewed By: dreiss

 Test Plan: Run a Java Thrift server

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@747 41a61cd8-c433-0410-bb1c-e256eeef9e11
lib/java/src/server/TThreadPoolServer.java