THRIFT-917. java: THsHaServer should not accept an ExecutorService without catching...
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 27 Sep 2010 17:12:36 +0000 (17:12 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 27 Sep 2010 17:12:36 +0000 (17:12 +0000)
commit3a3686fd51aaed9153a2d3f7299785753ba8e315
tree31fe7acd55b3a55d7515787e5c2b6714a74e09e3
parent0b4936dea5684d3b071d586492458e80c4e60a9f
THRIFT-917. java: THsHaServer should not accept an ExecutorService without catching RejectedExecutionException

This patch catches RejectedExecutionException from requestInvoke and closes the client connection when that occurs.

Patch: Ed Ceaser

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001820 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/server/THsHaServer.java
lib/java/src/org/apache/thrift/server/TNonblockingServer.java