@Test public void testSnapshotClosed() { chain.snapshotClosed(snapshot); chain.close(); Mockito.verify(snapshot, Mockito.never()).abort(); Mockito.verify(history).close(); }
synchronized void snapshotClosed(final ClientSnapshot clientTransaction) { openSnapshots.remove(clientTransaction); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { synchronized void snapshotClosed(final ClientSnapshot clientTransaction) { openSnapshots.remove(clientTransaction); } }
ClientBackedTransactionChain implements DOMStoreTransactionChain { synchronized void snapshotClosed(final ClientSnapshot clientTransaction) { openSnapshots.remove(clientTransaction); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { synchronized void snapshotClosed(final ClientSnapshot clientTransaction) { openSnapshots.remove(clientTransaction); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override synchronized void close(); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { synchronized void snapshotClosed(final ClientSnapshot clientTransaction) { openSnapshots.remove(clientTransaction); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override synchronized void close();  }