public void updateNow() throws IOException {
  ensureOpen();
  updateLock.lock();
  try {
    doUpdate();
  }
  finally {
    updateLock.unlock();
  }
}

public void updateNow ( ) throws IOException { ensureOpen ( ) ; updateLock . lock ( ) ; try { doUpdate ( ) ; } finally { updateLock . unlock ( ) ; } }
executes the update operation immediately , irregardess if an update thread is running or not .
