private void checkWriterFuture() throws InterruptedException, ExecutionException {
  if (wf.isDone()) {
    wf.get();
  }
}

private void checkWriterFuture ( ) throws InterruptedException , ExecutionException { if ( wf . isDone ( ) ) { wf . get ( ) ; } }
test future if done . throws exception if writer fails .
