METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . redis . client . connection . IDENT_2 > nodes = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . redis . client . connection . IDENT_2 > ( ) ; nodes . add ( new com . IDENT_0 . IDENT_1 . redis . client . connection . impl . METHOD_1 ( com . IDENT_0 . IDENT_1 . redis . client . config . IDENT_3 . METHOD_2 ( STRING_0 , INT_0 ) , 10 , 20 , 10 , 20 ) ) ; nodes . add ( new com . IDENT_0 . IDENT_1 . redis . client . connection . impl . METHOD_1 ( com . IDENT_0 . IDENT_1 . redis . client . config . IDENT_3 . METHOD_2 ( STRING_0 , INT_0 ) , 10 , 20 , 10 , 20 ) ) ; com . IDENT_0 . IDENT_1 . redis . client . strategy . IDENT_4 < com . IDENT_0 . IDENT_1 . redis . client . connection . IDENT_2 > IDENT_5 = new com . IDENT_0 . IDENT_1 . redis . client . strategy . IDENT_6 < com . IDENT_0 . IDENT_1 . redis . client . connection . IDENT_2 > ( nodes ) ; for ( int j = 0 ; j < 10 ; j ++ ) { java . lang . String key = java . util . UUID . METHOD_3 ( ) . toString ( ) ; com . IDENT_0 . IDENT_1 . redis . client . connection . IDENT_2 node = IDENT_5 . select ( key ) ; for ( int i = 0 ; i < 100 ; i ++ ) { "<AssertPlaceHolder>" ; } } } select ( java . lang . String ) { if ( key == null ) { return select ( com . IDENT_0 . IDENT_1 . redis . client . strategy . UUID . METHOD_3 ( ) . toString ( ) ) ; } java . lang . Long hash = hash ( key ) ; com . IDENT_0 . IDENT_1 . redis . client . strategy . IDENT_7 < java . lang . Long , T > map = IDENT_8 . METHOD_4 ( hash ) ; T result = null ; if ( map . isEmpty ( ) ) { result = IDENT_8 . get ( IDENT_8 . METHOD_5 ( ) ) ; } else { result = IDENT_8 . get ( map . METHOD_5 ( ) ) ; } if ( com . IDENT_0 . IDENT_1 . redis . client . strategy . IDENT_6 . LOGGER . METHOD_6 ( ) ) { com . IDENT_0 . IDENT_1 . redis . client . strategy . IDENT_6 . LOGGER . debug ( ( ( ( ( ( ( STRING_1 + key ) + STRING_2 ) + hash ) + STRING_3 ) + result ) + "]" ) ) ; } return result ; }
org . junit . Assert . assertEquals ( node , IDENT_5 . select ( key ) )