code: @Override
  	public void commitChanges( SynchronizationBarrier barrier ) throws JMSException
      {
      	checkNotClosed();
      	checkTransactionLock();
      	
      	if (persistentStore != null)
      	{
      		long start = System.currentTimeMillis();
      		synchronized (storeLock)
  			{
      			persistentStore.commitChanges(barrier);
  			}
      		long end = System.currentTimeMillis();
      		notifyCommitTime(end-start);
  
      		// Clear pending commit flag
      		pendingChanges = false;
      	}
      }
docs: /*
  (non-Javadoc)
  @see net.timewalker.ffmq4.utils.Committable#commitChanges(net.timewalker.ffmq4.utils.concurrent.SynchronizationBarrier)