@Override @Test public void testDoCreateTransaction() { final ClientTransaction clientTransaction = object().doCreateTransaction(); Assert.assertEquals(object().getIdentifier(), clientTransaction.getIdentifier().getHistoryId()); }
@Override ClientTransaction doCreateTransaction() { updateState(ensureIdleState(), State.TX_OPEN); return new ClientTransaction(this, new TransactionIdentifier(getIdentifier(), nextTx())); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientTransaction doCreateTransaction() { updateState(ensureIdleState(), State.TX_OPEN); return new ClientTransaction(this, new TransactionIdentifier(getIdentifier(), nextTx())); } }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientTransaction doCreateTransaction() { updateState(ensureIdleState(), State.TX_OPEN); return new ClientTransaction(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientTransaction doCreateTransaction() { updateState(ensureIdleState(), State.TX_OPEN); return new ClientTransaction(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close(); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientTransaction doCreateTransaction() { updateState(ensureIdleState(), State.TX_OPEN); return new ClientTransaction(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close();  }