URI function ( Set < InetSocketAddress > arg0 , String arg1 ) { InetSocketAddress loc0 = ServiceUtils . selectRandomItem ( arg0 ) ; String loc1 = loc0 . getHostString ( ) ; int loc2 = loc0 . getPort ( ) ; URI loc3 = new URI ( "srini_string" , null , loc1 , loc2 , arg1 , null , null ) ; return loc3 ; }
returns the uri of a random server . concode_field_sep Random randomGenerator concode_elem_sep long DEFAULT_DOC_EXPIRATION_TIME concode_field_sep Operation doServiceOperation concode_elem_sep void failOperationAsBadRequest concode_elem_sep void failOperationAsBadRequest concode_elem_sep String getIDFromDocumentSelfLink concode_elem_sep void logWarning concode_elem_sep void logInfo concode_elem_sep void logTrace concode_elem_sep void logTrace concode_elem_sep boolean documentEquals concode_elem_sep void setTaskInfoErrorStage concode_elem_sep T selectRandomItem concode_elem_sep void setSortedIndexing concode_elem_sep String getFmtMsg concode_elem_sep void logSevere concode_elem_sep void logSevere concode_elem_sep void logSevere concode_elem_sep void setExpandedIndexing concode_elem_sep void setIndexingOptions concode_elem_sep long computeExpirationTime