@Test public void testCreateSnapshotProxy() { final AbstractProxyTransaction snapshotProxy = object().createSnapshotProxy(TRANSACTION_ID, 0L); Assert.assertNotNull(snapshotProxy); Assert.assertNotEquals(TRANSACTION_ID, snapshotProxy.getIdentifier()); }
final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); } }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot(); }
AbstractClientHistory extends LocalAbortable implements Identifiable<LocalHistoryIdentifier> { final AbstractProxyTransaction createSnapshotProxy(final TransactionIdentifier transactionId, final Long shard) { return ensureHistoryProxy(transactionId, shard).createTransactionProxy(transactionId, true); } AbstractClientHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier identifier); @Override LocalHistoryIdentifier getIdentifier(); ClientTransaction createTransaction(); ClientSnapshot takeSnapshot();  }