536537538539540541542543544545546
// evict removed item from cache ReadLock lock = acquireReadLock(); try { versionItems.remove(item.getId()); } finally { lock.release(); } } /** * {@inheritDoc}
625626627628629630631632633634635
// evict removed item from cache ReadLock lock = acquireReadLock(); try { versionItems.remove(destroyed.getId()); } finally { lock.release(); } } /** * {@inheritDoc}
148149150151152153154155156157158
return getVersionHistory(history.getNodeId()); } else { throw new ItemNotFoundException("Version history of node " + id + " not found."); } } finally { lock.release(); } } /** * {@inheritDoc}
300301302303304305306307308309310
info = new VersionHistoryInfo( history.getNodeId(), history.getState().getChildNodeEntry(root, 1).getId()); } } finally { lock.release(); } if (info == null) { info = createVersionHistory(session, node, copiedFrom); }
366367368369370371372373374375376
public boolean hasItem(NodeId id) { ReadLock lock = acquireReadLock(); try { return stateMgr.hasItemState(id); } finally { lock.release(); } } /** * {@inheritDoc}
397398399400401402403404405406407
} } return item; } } finally { lock.release(); } } /** * {@inheritDoc} *
555556557558559560561562563564565
} } } } } finally { lock.release(); } } /** * Set an event channel to inform about updates.
578579580581582583584585586587588
676677678679680681682683684685686
115116117118119120121122123124125