int function ( ) { int loc0 ; int loc1 ; loc0 = transportAddress . indexOf ( "srini_string" ) + 1 ; loc1 = transportAddress . indexOf ( "srini_string" ) ; return Integer . parseInt ( transportAddress . substring ( loc0 , loc1 ) ) ; }
parse the result returned from elasticsearch which seems like `` inet / 10.0.0.1:9300 '' concode_field_sep String transportAddress concode_elem_sep String ip concode_elem_sep String name concode_elem_sep String host concode_elem_sep String HTTP_ADDRESS concode_elem_sep String httpAddress concode_elem_sep String TRANSPORT_ADDRESS concode_field_sep void setName concode_elem_sep String getTransportAddress concode_elem_sep String getName concode_elem_sep String getTransportHost concode_elem_sep String getHttpAddress concode_elem_sep String toString concode_elem_sep int getHTTPPort