public static InetSocketAddress getRpcPortSocketAddress ( WorkerNetAddress netAddress ) { String host = netAddress . getHost ( ) ; int port = netAddress . getRpcPort ( ) ; return new InetSocketAddress ( host , port ) ; }
Extracts rpcPort InetSocketAddress from Alluxio representation of network address .