public void flush(final boolean force) throws InterruptedException {
  try {
    if (!flush(force,Long.MAX_VALUE,TimeUnit.NANOSECONDS)) {
      throw new RuntimeException();
    }
  }
 catch (  TimeoutException e) {
    throw new RuntimeException(e);
  }
}

public void flush ( final boolean force ) throws InterruptedException { try { if ( ! flush ( force , Long . MAX_VALUE , TimeUnit . NANOSECONDS ) ) { throw new RuntimeException ( ) ; } } catch ( TimeoutException e ) { throw new RuntimeException ( e ) ; } }
flush the current write set through to the backing channel .
