this simlulates a long server retried operations . multiple threads start an operation that takes long time and finally succeeds . the retries in this case end up waiting for the current operation to complete . all the retries then complete based on the entry in the retry cache . concode_field_sep AtomicInteger operationCount concode_elem_sep RetryCache retryCache concode_elem_sep byte[] CLIENT_ID concode_elem_sep int callId concode_elem_sep Random r concode_elem_sep AtomicInteger retryCount concode_elem_sep TestServer testServer concode_field_sep void resetCounters concode_elem_sep void testRetryAfterSuccess concode_elem_sep void testRetryAfterFailure concode_elem_sep void setup concode_elem_sep int echo concode_elem_sep void testLongOperationsFailure concode_elem_sep void testShortOperationsSuccess concode_elem_sep void testShortOperationsFailure concode_elem_sep Server.Call newCall concode_elem_sep void testOperations
void function ( ) { testOperations ( r . nextInt ( ) , 100 , 20 , true , false , newCall ( ) ) ; }