determine the local hostname ; retrieving it from cache if it is known if we can not determine our host name , return `` localhost '' concode_field_sep String cachedHostname concode_elem_sep String cachedHostAddress concode_elem_sep String LOCALHOST concode_elem_sep Log LOG concode_field_sep String resolveLocalHostIPAddress concode_elem_sep String getDefaultIP concode_elem_sep String getDefaultHost concode_elem_sep String getDefaultHost concode_elem_sep String reverseDns concode_elem_sep NetworkInterface getSubinterface concode_elem_sep LinkedHashSet<InetAddress> getSubinterfaceInetAddrs concode_elem_sep String[] getIPs concode_elem_sep String[] getIPs concode_elem_sep String[] getHosts concode_elem_sep String[] getHosts
String function ( ) { String loc0 ; try { loc0 = InetAddress . getLocalHost ( ) . getCanonicalHostName ( ) ; } catch ( UnknownHostException loc1 ) { LOG . warn ( "srini_string" + "srini_string" * "srini_string" , loc1 ) ; loc0 = LOCALHOST ; } return loc0 ; }