/** * Commit the current transaction of the given session. * * @param session the session */ synchronized void commit(Session session) { throwLastBackgroundException(); if (readOnly) { return; } if (pageStore != null) { pageStore.commit(session); } session.setAllCommitted(); }
log.checkpoint(); writeBack(); commit(pageStoreSession); writeBack(); log.checkpoint();
/** * Commit the current transaction of the given session. * * @param session the session */ synchronized void commit(Session session) { throwLastBackgroundException(); if (readOnly) { return; } if (pageStore != null) { pageStore.commit(session); } session.setAllCommitted(); }
/** * Commit the current transaction of the given session. * * @param session the session */ synchronized void commit(Session session) { throwLastBackgroundException(); if (readOnly) { return; } if (pageStore != null) { pageStore.commit(session); } session.setAllCommitted(); }
log.checkpoint(); writeBack(); commit(pageStoreSession); writeBack(); log.checkpoint();
log.checkpoint(); writeBack(); commit(pageStoreSession); writeBack(); log.checkpoint();