THRIFT-836. java: Race condition causes CancelledKeyException in TAsyncClientManager
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 5 Aug 2010 21:13:06 +0000 (21:13 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 5 Aug 2010 21:13:06 +0000 (21:13 +0000)
commit067a7beb7350818c97edf24086f48cef2a9be1fa
tree2c1b867b8316cb486caa510f300e07fc9b6740da
parent5226eeaaaa1789fccce5c7cf0a5cef0a38190df8
THRIFT-836. java: Race condition causes CancelledKeyException in TAsyncClientManager

This patch removes an erroneous key cancellation and adds exception handling for a bunch of different exceptions.
Patch: Ning Liang

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@982789 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/async/TAsyncClientManager.java
lib/java/src/org/apache/thrift/async/TAsyncMethodCall.java
lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java