@Override @Test public void testOnTransactionAbort() { final ClientSnapshot clientSnapshot = object().doCreateSnapshot(); Assert.assertTrue(clientSnapshot.abort()); }
@Override void onTransactionAbort(final AbstractClientHandle<?> snap) { if (snap instanceof ClientTransaction) { final State local = state(); if (local == State.TX_OPEN) { updateState(local, State.IDLE); } } super.onTransactionAbort(snap); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override void onTransactionAbort(final AbstractClientHandle<?> snap) { if (snap instanceof ClientTransaction) { final State local = state(); if (local == State.TX_OPEN) { updateState(local, State.IDLE); } } super.onTransactionAbort(snap); } }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override void onTransactionAbort(final AbstractClientHandle<?> snap) { if (snap instanceof ClientTransaction) { final State local = state(); if (local == State.TX_OPEN) { updateState(local, State.IDLE); } } super.onTransactionAbort(snap); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override void onTransactionAbort(final AbstractClientHandle<?> snap) { if (snap instanceof ClientTransaction) { final State local = state(); if (local == State.TX_OPEN) { updateState(local, State.IDLE); } } super.onTransactionAbort(snap); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close(); }
ClientLocalHistory extends AbstractClientHistory implements AutoCloseable { @Override void onTransactionAbort(final AbstractClientHandle<?> snap) { if (snap instanceof ClientTransaction) { final State local = state(); if (local == State.TX_OPEN) { updateState(local, State.IDLE); } } super.onTransactionAbort(snap); } ClientLocalHistory(final AbstractDataStoreClientBehavior client, final LocalHistoryIdentifier historyId); @Override void close();  }