METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 IDENT_1 = new java . util . concurrent . atomic . METHOD_1 ( 0 ) ; final org . apache . nifi . IDENT_2 . IDENT_3 config = METHOD_2 ( ) ; config . METHOD_3 ( 3 , TimeUnit . IDENT_4 ) ; repo = new org . apache . nifi . IDENT_2 . METHOD_4 ( config , org . apache . nifi . IDENT_2 . IDENT_5 . IDENT_6 ) { @ org . apache . nifi . IDENT_2 . Override java . io . File METHOD_5 ( java . util . List < java . io . File > IDENT_7 , java . io . File IDENT_8 , org . apache . nifi . events . IDENT_9 IDENT_10 ) throws java . io . IOException { IDENT_1 . METHOD_6 ( ) ; return super . METHOD_5 ( IDENT_7 , IDENT_8 , IDENT_10 ) ; } @ org . apache . nifi . IDENT_2 . Override MOD_0 java . util . List < java . io . File > METHOD_7 ( java . util . List < java . io . File > IDENT_7 ) { return java . util . Collections . emptyList ( ) ; } @ org . apache . nifi . IDENT_2 . Override MOD_0 long METHOD_8 ( ) { return INT_0 ; } } ; repo . METHOD_9 ( METHOD_10 ( ) , null , null , IDENT_11 . IDENT_12 ) ; final java . util . Map < java . lang . String , java . lang . String > attributes = new java . util . HashMap ( ) ; final org . apache . nifi . IDENT_2 . IDENT_13 builder = new org . apache . nifi . IDENT_2 . IDENT_14 . Builder ( ) ; builder . METHOD_11 ( java . lang . System . currentTimeMillis ( ) ) ; builder . METHOD_12 ( IDENT_15 . IDENT_16 ) ; builder . METHOD_13 ( STRING_0 ) ; attributes . put ( STRING_1 , STRING_2 ) ; builder . METHOD_14 ( org . apache . nifi . IDENT_2 . IDENT_17 . METHOD_15 ( INT_1 , INT_2 , attributes ) ) ; builder . METHOD_16 ( STRING_3 ) ; builder . METHOD_17 ( STRING_4 ) ; final org . apache . nifi . IDENT_2 . IDENT_18 record = builder . build ( ) ; final java . util . concurrent . IDENT_19 exec = java . util . concurrent . IDENT_20 . METHOD_18 ( 10 ) ; for ( int i = 0 ; i < INT_3 ; i ++ ) { exec . METHOD_19 ( new java . lang . METHOD_20 ( ) { @ org . apache . nifi . IDENT_2 . Override public void run ( ) { repo . METHOD_21 ( record ) ; } } ) ; } exec . METHOD_22 ( ) ; exec . METHOD_23 ( 10 , TimeUnit . IDENT_4 ) ; repo . METHOD_24 ( ) ; "<AssertPlaceHolder>" ; } METHOD_24 ( ) { final int count = IDENT_21 . get ( ) ; while ( ( IDENT_21 . get ( ) ) == count ) { try { java . lang . Thread . sleep ( INT_4 ) ; } catch ( final java . lang . IDENT_22 e ) { } } }
org . junit . Assert . assertEquals ( 5 , IDENT_1 . get ( ) )