@Test public void testNewReadWriteTransaction() { Assert.assertNotNull(chain.newReadWriteTransaction()); Mockito.verify(history).createTransaction(); }
@Override public DOMStoreReadWriteTransaction newReadWriteTransaction() { return new ClientBackedReadWriteTransaction(createTransaction(), allocationContext()); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { @Override public DOMStoreReadWriteTransaction newReadWriteTransaction() { return new ClientBackedReadWriteTransaction(createTransaction(), allocationContext()); } }
ClientBackedTransactionChain implements DOMStoreTransactionChain { @Override public DOMStoreReadWriteTransaction newReadWriteTransaction() { return new ClientBackedReadWriteTransaction(createTransaction(), allocationContext()); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { @Override public DOMStoreReadWriteTransaction newReadWriteTransaction() { return new ClientBackedReadWriteTransaction(createTransaction(), allocationContext()); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override synchronized void close(); }
ClientBackedTransactionChain implements DOMStoreTransactionChain { @Override public DOMStoreReadWriteTransaction newReadWriteTransaction() { return new ClientBackedReadWriteTransaction(createTransaction(), allocationContext()); } ClientBackedTransactionChain(final ClientLocalHistory history, final boolean debugAllocation); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override synchronized void close();  }