private void run2() throws InterruptedException {
  boolean firstLogIteration=true;
synchronized (loggerLock) {
    while (true) {
      int sleepMillis=getLogInterval();
      if (firstLogIteration) {
        firstLogIteration=false;
        sleepMillis/=2;
      }
      loggerLock.wait(sleepMillis);
      PRHARedundancyProvider rp=region.getRedundancyProvider();
      if (rp != null && rp.isPersistentRecoveryComplete()) {
        break;
      }
      if (missingChildren.isEmpty()) {
        break;
      }
      logMissingRegions(region);
    }
  }
}

private void run2 ( ) throws InterruptedException { boolean firstLogIteration = true ; synchronized ( loggerLock ) { while ( true ) { int sleepMillis = getLogInterval ( ) ; if ( firstLogIteration ) { firstLogIteration = false ; sleepMillis /= 2 ; } loggerLock . wait ( sleepMillis ) ; PRHARedundancyProvider rp = region . getRedundancyProvider ( ) ; if ( rp != null && rp . isPersistentRecoveryComplete ( ) ) { break ; } if ( missingChildren . isEmpty ( ) ) { break ; } logMissingRegions ( region ) ; } } }
writes a log entry every sleep_period when there are missing colocated child regions for this region .
