@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() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new snapshot {}", this, txId); return new ClientSnapshot(this, txId); }
SingleClientHistory extends AbstractClientHistory { @Override ClientSnapshot doCreateSnapshot() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new snapshot {}", this, txId); return new ClientSnapshot(this, txId); } }
SingleClientHistory extends AbstractClientHistory { @Override ClientSnapshot doCreateSnapshot() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new snapshot {}", this, txId); return new ClientSnapshot(this, txId); } SingleClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); }
SingleClientHistory extends AbstractClientHistory { @Override ClientSnapshot doCreateSnapshot() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new snapshot {}", this, txId); return new ClientSnapshot(this, txId); } SingleClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier);  }
SingleClientHistory extends AbstractClientHistory { @Override ClientSnapshot doCreateSnapshot() { final TransactionIdentifier txId = new TransactionIdentifier(getIdentifier(), nextTx()); LOG.debug("{}: creating a new snapshot {}", this, txId); return new ClientSnapshot(this, txId); } SingleClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier);   }