HADOOP-6435. Make RPC.waitForProxy with timeout public. Contributed by Steve Loughran.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@893612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas White 2009-12-23 19:36:14 +00:00
parent cc2f077d43
commit d115e2cc3a
2 changed files with 4 additions and 1 deletions

View File

@ -74,6 +74,9 @@ Trunk (unreleased changes)
HADOOP-6454. Create setup.py for EC2 cloud scripts. (tomwhite)
HADOOP-6435. Make RPC.waitForProxy with timeout public. (Steve Loughran
via tomwhite)
OPTIMIZATIONS
BUG FIXES

View File

@ -171,7 +171,7 @@ public class RPC {
* @return the proxy
* @throws IOException if the far end through a RemoteException
*/
static Object waitForProxy(Class protocol, long clientVersion,
public static Object waitForProxy(Class protocol, long clientVersion,
InetSocketAddress addr, Configuration conf,
long timeout) throws IOException {
long startTime = System.currentTimeMillis();