.getTx(tx).getReadsOnCommitTime();
.getTx(tx).getReadsOnCommitTime();
@Override protected void deactivateTx(final TxState state) { super.deactivateTx(state); // if (TimestampUtility.isReadWriteTx(state.tx)) { /* * Unregister transactions. */ final Tx localState = journal.getLocalTransactionManager() .getTx(state.tx); if (localState != null) { journal.getLocalTransactionManager().deactivateTx(localState); } } }
@Override protected void deactivateTx(final TxState state) { super.deactivateTx(state); // if (TimestampUtility.isReadWriteTx(state.tx)) { /* * Unregister transactions. */ final Tx localState = journal.getLocalTransactionManager() .getTx(state.tx); if (localState != null) { journal.getLocalTransactionManager().deactivateTx(localState); } } }
final Tx localState = journal.getLocalTransactionManager().getTx( state.tx);
final Tx localState = journal.getLocalTransactionManager().getTx( state.tx);
/** * Return the readsOnCommitTime associated with a transaction -or- * <code>null</code> if the transaction is no longer active or if the backend * is the scale-out architecture. * * @param txId * The transaction identifier. * * @return The readsOnCommitTime if it is available and otherwise * <code>null</code>. * * TODO This information is not available in scale-out. See <a * href="http://trac.bigdata.com/ticket/#266" > Refactor native long * tx id to thin object. </a> */ private Long getReadsOnCommitTimeOrNull(final long txId) { if (getIndexManager() instanceof IBigdataFederation) { return null; } final ITxState tx = ((Journal) getIndexManager()) .getLocalTransactionManager().getTx(txId); if (tx == null) { // Gone. return null; } return tx.getReadsOnCommitTime(); }
final Tx localState = getLocalTransactionManager().getTx(txId);
final Tx localState = getLocalTransactionManager().getTx(txId);
/** * Return the readsOnCommitTime associated with a transaction -or- * <code>null</code> if the transaction is no longer active or if the backend * is the scale-out architecture. * * @param txId * The transaction identifier. * * @return The readsOnCommitTime if it is available and otherwise * <code>null</code>. * * TODO This information is not available in scale-out. See <a * href="http://trac.bigdata.com/ticket/#266" > Refactor native long * tx id to thin object. </a> */ private Long getReadsOnCommitTimeOrNull(final long txId) { if (getIndexManager() instanceof IBigdataFederation) { return null; } final ITxState tx = ((Journal) getIndexManager()) .getLocalTransactionManager().getTx(txId); if (tx == null) { // Gone. return null; } return tx.getReadsOnCommitTime(); }
: journal.getLocalTransactionManager().getTx(tx).getIndex(name));
: journal.getLocalTransactionManager().getTx(tx).getIndex(name));
final Tx localState = journal.getLocalTransactionManager().getTx( state.tx);
final Tx localState = journal.getLocalTransactionManager().getTx( state.tx);