public void waitForRollover(){
  final int count=rolloverCompletions.get();
  while (rolloverCompletions.get() == count) {
    try {
      Thread.sleep(100L);
    }
 catch (    final InterruptedException e) {
    }
  }
}

public void waitForRollover ( ) { final int count = rolloverCompletions . get ( ) ; while ( rolloverCompletions . get ( ) == count ) { try { Thread . sleep ( 100L ) ; } catch ( final InterruptedException e ) { } } }
blocks the calling thread until the repository rolls over . this is intended for unit testing .
