void function ( AbstractConnectionFactory arg0 , int arg1 ) { int loc0 = 0 ; while ( loc0 < 10000 ) { if ( arg0 . getOpenConnectionIds ( ) . size ( ) == arg1 ) { return ; } Thread . sleep ( 100 ) ; loc0 += 100 ; } throw new IllegalStateException ( "srini_string" + arg0 . getOpenConnectionIds ( ) . size ( ) + "srini_string" + arg1 ) ; }
wait for up to 10 seconds for the connection factory to have the specified number of connections . concode_field_sep PlaceHolder placeHolder concode_field_sep void waitStopListening concode_elem_sep void waitListening