151152153154155156157158159160161
{ lock.writeLock().unlock(); } // Unlocking object. graph.clear(); graph = null; if (log.isDebugEnabled()) { log.debug("Data persisted successfully for entity {}.", e.getClass()); }
345346347348349350351352353354355
finally { lock.writeLock().unlock(); } // clear out graph graph.clear(); graph = null; if (log.isDebugEnabled()) { log.debug("Data removed successfully for entity : " + e.getClass());
449450451452453454455456457458459
} finally { lock.writeLock().unlock(); } graph.clear(); graph = null; return (E) node.getData(); }