boolean function ( Throwable arg0 ) { boolean loc0 = arg0 instanceof IOException || ( arg0 . getCause ( ) != null && arg0 . getCause ( ) instanceof IOException ) ; boolean loc1 = retryCount < maxRetries ; return loc0 && loc1 ; }
returns true if we should retry due a block fetch failure . we will retry if and only if the exception was an ioexception and we have n't retried ` maxretries ' times already . concode_field_sep ExecutorService executorService concode_elem_sep LinkedHashSet<String> outstandingBlocksIds concode_elem_sep int maxRetries concode_elem_sep RetryingBlockFetchListener currentListener concode_elem_sep Logger logger concode_elem_sep BlockFetchingListener listener concode_elem_sep BlockFetchStarter fetchStarter concode_elem_sep int retryWaitTime concode_elem_sep int retryCount concode_field_sep void fetchAllOutstanding concode_elem_sep void onBlockFetchSuccess concode_elem_sep void initiateRetry concode_elem_sep void onBlockFetchFailure concode_elem_sep void start concode_elem_sep void createAndStart