@Override protected void activateTx(final TxState state) { if (txLog.isInfoEnabled()) txLog.info("OPEN : txId=" + state.tx + ", readsOnCommitTime=" + state.getReadsOnCommitTime()); final IBufferStrategy bufferStrategy = Journal.this.getBufferStrategy(); if (bufferStrategy instanceof IHistoryManager) { final IRawTx tx = ((IHistoryManager)bufferStrategy).newTx(); if (m_rawTxs.put(state.tx, tx) != null) { throw new IllegalStateException( "Unexpected existing RawTx"); } } super.activateTx(state); }
@Override protected void activateTx(final TxState state) { if (txLog.isInfoEnabled()) txLog.info("OPEN : txId=" + state.tx + ", readsOnCommitTime=" + state.getReadsOnCommitTime()); final IBufferStrategy bufferStrategy = Journal.this.getBufferStrategy(); if (bufferStrategy instanceof IHistoryManager) { final IRawTx tx = ((IHistoryManager)bufferStrategy).newTx(); if (m_rawTxs.put(state.tx, tx) != null) { throw new IllegalStateException( "Unexpected existing RawTx"); } } super.activateTx(state); }