/** * Get the raw information about an end point * * @param endpoint endpoint to process * @return a array of string with the first index being the data center and the second being the rack */ public static String[] getEndpointInfo(InetAddress endpoint) { String[] rawEndpointInfo = getRawEndpointInfo(endpoint); if (rawEndpointInfo == null) throw new RuntimeException("Unknown host " + endpoint + " with no default configured"); return rawEndpointInfo; }
/** * Get the raw information about an end point * * @param endpoint endpoint to process * @return a array of string with the first index being the data center and the second being the rack */ public static String[] getEndpointInfo(InetAddress endpoint) { String[] rawEndpointInfo = getRawEndpointInfo(endpoint); if (rawEndpointInfo == null) throw new RuntimeException("Unknown host " + endpoint + " with no default configured"); return rawEndpointInfo; }
/** * Get the raw information about an end point * * @param endpoint endpoint to process * @return a array of string with the first index being the data center and the second being the rack */ public static String[] getEndpointInfo(InetAddress endpoint) { String[] rawEndpointInfo = getRawEndpointInfo(endpoint); if (rawEndpointInfo == null) throw new RuntimeException("Unknown host " + endpoint + " with no default configured"); return rawEndpointInfo; }
/** * Get the raw information about an end point * * @param endpoint endpoint to process * @return a array of string with the first index being the data center and the second being the rack */ public static String[] getEndpointInfo(InetAddress endpoint) { String[] rawEndpointInfo = getRawEndpointInfo(endpoint); if (rawEndpointInfo == null) throw new RuntimeException("Unknown host " + endpoint + " with no default configured"); return rawEndpointInfo; }