public Integer call() throws Exception {
  int nverified=0;
  try {
    for (int i=0; i < nreads; i++) {
      if (read()) {
        nverified++;
      }
    }
  }
 catch (  Throwable t) {
    log.warn(t.getMessage(),t);
    throw new RuntimeException(t);
  }
  return nverified;
}

public Integer call ( ) throws Exception { int nverified = 0 ; try { for ( int i = 0 ; i < nreads ; i ++ ) { if ( read ( ) ) { nverified ++ ; } } } catch ( Throwable t ) { log . warn ( t . getMessage ( ) , t ) ; throw new RuntimeException ( t ) ; } return nverified ; }
executes random reads and validates against ground truth .
