METHOD_0 ( ) { org . apache . IDENT_0 . client . IDENT_1 IDENT_2 = IDENT_3 . METHOD_1 ( 1 , 1 , IDENT_4 , new byte [ 0 ] ) ; byte [ ] content = new byte [ 100 ] ; final int n = 1000 ; final java . util . concurrent . IDENT_5 IDENT_6 = new java . util . concurrent . METHOD_2 ( n ) ; final java . util . concurrent . atomic . IDENT_7 IDENT_8 = new java . util . concurrent . atomic . METHOD_3 ( ) ; for ( int i = 0 ; i < n ; i ++ ) { IDENT_2 . METHOD_4 ( content , new org . apache . IDENT_0 . client . IDENT_9 . METHOD_5 ( ) { @ org . apache . IDENT_0 . client . Override public void METHOD_6 ( int IDENT_10 , org . apache . IDENT_0 . client . IDENT_1 IDENT_2 , long IDENT_11 , java . lang . Object ctx ) { if ( IDENT_10 == ( IDENT_12 . IDENT_13 . IDENT_14 ) ) { IDENT_8 . set ( true ) ; } IDENT_6 . METHOD_7 ( ) ; } } , null ) ; } IDENT_6 . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } get ( ) { while ( true ) { try { return IDENT_15 . get ( 100 , TimeUnit . IDENT_16 ) ; } catch ( java . lang . IDENT_17 e ) { log . warn ( STRING_0 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_18 e ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } catch ( java . util . concurrent . IDENT_19 e ) { continue ; } } }
org . junit . Assert . assertTrue ( IDENT_8 . get ( ) )