@Override public void notifyCommit(final long commitTime){
  lock.lock();
  try {
    updateReleaseTimeForBareCommit(commitTime);
  }
  finally {
    lock.unlock();
  }
}

@ Override public void notifyCommit ( final long commitTime ) { lock . lock ( ) ; try { updateReleaseTimeForBareCommit ( commitTime ) ; } finally { lock . unlock ( ) ; } }
the basic implementation advances the release time periodically as commits occur even when there are no transactions in use . < p > note : this needs to be a fairly low - latency operation since this method is invoked for all commits on all data services and will otherwise be a global hotspot .
