METHOD_0 ( ) { try ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 ( ) ) { long IDENT_4 = INT_0 ; int IDENT_5 = 100 ; java . util . List < org . apache . IDENT_0 . net . IDENT_6 > IDENT_7 = java . util . stream . IDENT_8 . range ( 0 , IDENT_5 ) . METHOD_2 ( ( i ) -> address ( java . lang . String . format ( STRING_0 , i ) ) ) . collect ( java . util . stream . IDENT_9 . toList ( ) ) ; org . apache . IDENT_0 . client . api . IDENT_10 IDENT_11 = org . apache . IDENT_0 . client . IDENT_12 . create ( ) . METHOD_3 ( IDENT_5 ) . METHOD_4 ( IDENT_13 . IDENT_14 ) . METHOD_5 ( new byte [ 0 ] ) . METHOD_6 ( 0L , IDENT_7 ) . build ( ) ; org . apache . IDENT_0 . IDENT_15 . IDENT_16 < org . apache . IDENT_0 . client . api . IDENT_10 > IDENT_17 = IDENT_3 . METHOD_7 ( IDENT_4 , IDENT_11 ) . get ( ) ; java . util . concurrent . atomic . IDENT_18 < org . apache . IDENT_0 . IDENT_15 . IDENT_16 < org . apache . IDENT_0 . client . api . IDENT_10 > > reference = new java . util . concurrent . atomic . METHOD_8 ( IDENT_17 ) ; java . util . List < org . apache . IDENT_0 . net . IDENT_6 > IDENT_19 = java . util . stream . IDENT_8 . range ( 0 , IDENT_5 ) . METHOD_2 ( ( i ) -> address ( java . lang . String . format ( STRING_1 , i ) ) ) . collect ( java . util . stream . IDENT_9 . toList ( ) ) ; java . util . List < java . util . concurrent . IDENT_20 < org . apache . IDENT_0 . IDENT_15 . IDENT_16 < org . apache . IDENT_0 . client . api . IDENT_10 > > > IDENT_21 = java . util . stream . IDENT_8 . range ( 0 , IDENT_5 ) . METHOD_2 ( ( i ) -> new org . apache . IDENT_0 . client . METHOD_9 ( IDENT_3 , IDENT_4 , reference :: get , ( IDENT_22 ) -> IDENT_22 . METHOD_10 ( 0L ) . contains ( IDENT_7 . get ( i ) ) , ( IDENT_22 ) -> { List < org . apache . IDENT_0 . net . IDENT_6 > IDENT_23 = com . google . common . collect . Lists . newArrayList ( IDENT_22 . METHOD_10 ( 0L ) ) ; IDENT_23 . set ( i , IDENT_19 . get ( i ) ) ; return org . apache . IDENT_0 . client . IDENT_12 . from ( IDENT_22 ) . METHOD_11 ( 0L , IDENT_23 ) . build ( ) ; } , reference :: IDENT_24 ) . run ( ) ) . collect ( java . util . stream . IDENT_9 . toList ( ) ) ; IDENT_21 . METHOD_12 ( ( l ) -> l . join ( ) ) ; "<AssertPlaceHolder>" ; } } get ( ) { while ( true ) { try { return IDENT_25 . get ( 100 , TimeUnit . IDENT_26 ) ; } catch ( java . lang . IDENT_27 e ) { log . warn ( STRING_2 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_28 e ) { throw new java . lang . IllegalArgumentException ( STRING_3 ) ; } catch ( java . util . concurrent . IDENT_29 e ) { continue ; } } }
org . junit . Assert . assertEquals ( reference . get ( ) . getValue ( ) . METHOD_10 ( 0L ) , IDENT_19 )