METHOD_0 ( ) { METHOD_1 ( METHOD_2 ( IDENT_0 . IDENT_1 ) , false ) ; com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 k = IDENT_6 . METHOD_3 ( STRING_0 ) . METHOD_4 ( com . IDENT_2 . IDENT_3 . IDENT_4 . Integer . class ) . METHOD_5 ( IDENT_7 . IDENT_8 ) . METHOD_6 ( ) ; com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 q = IDENT_6 . METHOD_3 ( STRING_1 ) . METHOD_4 ( com . IDENT_2 . IDENT_3 . IDENT_4 . Long . class ) . METHOD_5 ( IDENT_7 . IDENT_8 ) . METHOD_6 ( ) ; IDENT_6 . METHOD_7 ( STRING_2 , org . apache . tinkerpop . IDENT_9 . IDENT_10 . IDENT_11 . class ) . METHOD_8 ( k ) . METHOD_9 ( ) ; METHOD_10 ( ) ; final java . util . concurrent . atomic . IDENT_12 run = new java . util . concurrent . atomic . METHOD_11 ( true ) ; final int IDENT_13 = 10 ; final int IDENT_14 = 10 ; final int IDENT_15 = 5 ; final int IDENT_16 = 2 ; final com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_17 random = new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_12 ( ) ; final java . util . concurrent . atomic . IDENT_18 IDENT_19 = new java . util . concurrent . atomic . METHOD_13 ( 0 ) ; java . lang . Thread writer = new java . lang . Thread ( new java . lang . METHOD_14 ( ) { @ com . IDENT_2 . IDENT_3 . IDENT_4 . Override public void run ( ) { while ( run . get ( ) ) { com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_20 tx = graph . METHOD_15 ( ) ; try { for ( int i = 0 ; i < IDENT_13 ; i ++ ) { com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_21 v = tx . METHOD_16 ( ) ; v . property ( STRING_0 , random . METHOD_17 ( IDENT_15 ) ) ; v . property ( STRING_1 , random . METHOD_17 ( IDENT_16 ) ) ; } tx . commit ( ) ; } catch ( java . lang . Throwable e ) { e . printStackTrace ( ) ; } finally { if ( tx . METHOD_18 ( ) ) tx . METHOD_19 ( ) ; } } } } ) ; java . lang . Thread reader = new java . lang . Thread ( new java . lang . METHOD_14 ( ) { @ com . IDENT_2 . IDENT_3 . IDENT_4 . Override public void run ( ) { while ( run . get ( ) ) { com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_20 tx = graph . METHOD_15 ( ) ; try { for ( int i = 0 ; i < IDENT_14 ; i ++ ) { com . IDENT_2 . IDENT_3 . IDENT_4 . Set < org . apache . tinkerpop . IDENT_9 . IDENT_10 . IDENT_11 > IDENT_22 = new com . IDENT_2 . IDENT_3 . IDENT_4 . HashSet < org . apache . tinkerpop . IDENT_9 . IDENT_10 . IDENT_11 > ( ) ; java . lang . IDENT_23 < com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_21 > IDENT_24 = tx . query ( ) . METHOD_20 ( STRING_0 , random . METHOD_17 ( IDENT_15 ) ) . METHOD_20 ( STRING_1 , random . METHOD_17 ( IDENT_16 ) ) . METHOD_21 ( ) ; for ( com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_21 v : METHOD_21 ) { if ( ! ( IDENT_22 . add ( v ) ) ) { IDENT_19 . METHOD_22 ( ) ; System . err . println ( ( STRING_3 + v ) ) ; } } } tx . commit ( ) ; } catch ( java . lang . Throwable e ) { e . printStackTrace ( ) ; } finally { if ( tx . METHOD_18 ( ) ) tx . METHOD_19 ( ) ; } } } } ) ; writer . start ( ) ; reader . start ( ) ; java . lang . Thread . sleep ( INT_0 ) ; run . set ( false ) ; writer . join ( ) ; reader . join ( ) ; "<AssertPlaceHolder>" ; } get ( ) { return new com . IDENT_2 . IDENT_3 . IDENT_25 . IDENT_26 . METHOD_23 ( com . IDENT_2 . IDENT_3 . IDENT_25 . IDENT_26 . IDENT_27 , com . IDENT_2 . IDENT_3 . IDENT_25 . IDENT_26 . METHOD_24 ( ) ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_19 . get ( ) )