public void flush() { determineUpdatedObjects(); // Needs to be done before the removeUnnecessaryOperations, as removeUnnecessaryOperations will remove stuff from the cache removeUnnecessaryOperations(); if (log.isDebugEnabled()) { debugFlush(); } flushInserts(); flushUpdates(); flushDeletes(); }
@Override public void flush() { List<DeleteOperation> removedOperations = removeUnnecessaryOperations();
public void flush() { removeUnnecessaryOperations(); flushDeserializedObjects(); List<PersistentObject> updatedObjects = getUpdatedObjects(); if (log.isDebugEnabled()) { log.debug("flush summary:"); for (PersistentObject insertedObject: insertedObjects) { log.debug(" insert {}", toString(insertedObject)); } for (PersistentObject updatedObject: updatedObjects) { log.debug(" update {}", toString(updatedObject)); } for (Object deleteOperation: deleteOperations) { log.debug(" {}", deleteOperation); } log.debug("now executing flush..."); } flushInserts(); flushUpdates(updatedObjects); flushDeletes(); }
public void flush() { determineUpdatedObjects(); // Needs to be done before the removeUnnecessaryOperations, as removeUnnecessaryOperations will remove stuff from the cache removeUnnecessaryOperations(); if (log.isDebugEnabled()) { debugFlush(); } flushInserts(); flushUpdates(); flushDeletes(); }