@Test public void testGetBindAddress() throws Exception { for (ServiceType service : ServiceType.values()) { if (service == ServiceType.JOB_MASTER_RAFT || service == ServiceType.MASTER_RAFT) { continue; } getBindAddress(service); } }
public static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf) { int port = getPort(service, conf); assertValidPort(port); return new InetSocketAddress(getBindHost(service, conf), getPort(service, conf)); }
NetworkAddressUtils { public static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf) { int port = getPort(service, conf); assertValidPort(port); return new InetSocketAddress(getBindHost(service, conf), getPort(service, conf)); } }
NetworkAddressUtils { public static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf) { int port = getPort(service, conf); assertValidPort(port); return new InetSocketAddress(getBindHost(service, conf), getPort(service, conf)); } private  NetworkAddressUtils(); }
NetworkAddressUtils { public static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf) { int port = getPort(service, conf); assertValidPort(port); return new InetSocketAddress(getBindHost(service, conf), getPort(service, conf)); } private  NetworkAddressUtils(); static void assertValidPort(final int port); static void assertValidPort(final InetSocketAddress address); static InetSocketAddress getConnectAddress(ServiceType service,
      AlluxioConfiguration conf); static String getConnectHost(ServiceType service, AlluxioConfiguration conf); static int getPort(ServiceType service, AlluxioConfiguration conf); static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf); static String getBindHost(ServiceType service, AlluxioConfiguration conf); static String getClientHostName(AlluxioConfiguration conf); static String getLocalNodeName(AlluxioConfiguration conf); static synchronized String getLocalHostName(int timeoutMs); static synchronized String getLocalHostMetricName(int timeoutMs); static synchronized String getLocalIpAddress(int timeoutMs); static boolean isServing(String host, int port); @Nullable static String resolveHostName(String hostname); static String resolveIpAddress(String hostname); static String getFqdnHost(InetSocketAddress addr); static String getFqdnHost(WorkerNetAddress addr); @Nullable static InetSocketAddress parseInetSocketAddress(String address); static InetSocketAddress getRpcPortSocketAddress(WorkerNetAddress netAddress); static SocketAddress getDataPortSocketAddress(WorkerNetAddress netAddress,
      AlluxioConfiguration conf); static void pingService(InetSocketAddress address, alluxio.grpc.ServiceType serviceType,
      AlluxioConfiguration conf, UserState userState); }
NetworkAddressUtils { public static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf) { int port = getPort(service, conf); assertValidPort(port); return new InetSocketAddress(getBindHost(service, conf), getPort(service, conf)); } private  NetworkAddressUtils(); static void assertValidPort(final int port); static void assertValidPort(final InetSocketAddress address); static InetSocketAddress getConnectAddress(ServiceType service,
      AlluxioConfiguration conf); static String getConnectHost(ServiceType service, AlluxioConfiguration conf); static int getPort(ServiceType service, AlluxioConfiguration conf); static InetSocketAddress getBindAddress(ServiceType service, AlluxioConfiguration conf); static String getBindHost(ServiceType service, AlluxioConfiguration conf); static String getClientHostName(AlluxioConfiguration conf); static String getLocalNodeName(AlluxioConfiguration conf); static synchronized String getLocalHostName(int timeoutMs); static synchronized String getLocalHostMetricName(int timeoutMs); static synchronized String getLocalIpAddress(int timeoutMs); static boolean isServing(String host, int port); @Nullable static String resolveHostName(String hostname); static String resolveIpAddress(String hostname); static String getFqdnHost(InetSocketAddress addr); static String getFqdnHost(WorkerNetAddress addr); @Nullable static InetSocketAddress parseInetSocketAddress(String address); static InetSocketAddress getRpcPortSocketAddress(WorkerNetAddress netAddress); static SocketAddress getDataPortSocketAddress(WorkerNetAddress netAddress,
      AlluxioConfiguration conf); static void pingService(InetSocketAddress address, alluxio.grpc.ServiceType serviceType,
      AlluxioConfiguration conf, UserState userState); static final String WILDCARD_ADDRESS; static final String UNKNOWN_HOSTNAME; static final boolean WINDOWS; }