@Test public void testCreateTransaction() { final ClientTransaction transaction = object().createTransaction(); Assert.assertNotNull(transaction); }
public ClientTransaction createTransaction() { checkNotClosed(); synchronized (this) { final ClientTransaction ret = doCreateTransaction(); openTransactions.put(ret.getIdentifier(), ret); return ret; } }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { public ClientTransaction createTransaction() { checkNotClosed(); synchronized (this) { final ClientTransaction ret = doCreateTransaction(); openTransactions.put(ret.getIdentifier(), ret); return ret; } } }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { public ClientTransaction createTransaction() { checkNotClosed(); synchronized (this) { final ClientTransaction ret = doCreateTransaction(); openTransactions.put(ret.getIdentifier(), ret); return ret; } } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { public ClientTransaction createTransaction() { checkNotClosed(); synchronized (this) { final ClientTransaction ret = doCreateTransaction(); openTransactions.put(ret.getIdentifier(), ret); return ret; } } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot(); }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { public ClientTransaction createTransaction() { checkNotClosed(); synchronized (this) { final ClientTransaction ret = doCreateTransaction(); openTransactions.put(ret.getIdentifier(), ret); return ret; } } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot();  }