@Override @Test public void testDoCreateSnapshot() { final ClientSnapshot clientSnapshot = object().doCreateSnapshot(); Assert.assertEquals(new TransactionIdentifier(object().getIdentifier(), object().nextTx()).getHistoryId(), clientSnapshot.getIdentifier().getHistoryId()); }
@Override ClientSnapshot doCreateSnapshot() { ensureIdleState(); return new ClientSnapshot(this, new TransactionIdentifier(getIdentifier(), nextTx())); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientSnapshot doCreateSnapshot() { ensureIdleState(); return new ClientSnapshot(this, new TransactionIdentifier(getIdentifier(), nextTx())); } }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientSnapshot doCreateSnapshot() { ensureIdleState(); return new ClientSnapshot(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientSnapshot doCreateSnapshot() { ensureIdleState(); return new ClientSnapshot(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close(); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override ClientSnapshot doCreateSnapshot() { ensureIdleState(); return new ClientSnapshot(this, new TransactionIdentifier(getIdentifier(), nextTx())); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close();  }