public synchronized void removeMPReadTransactions() {
        TransactionTask  task = m_backlog.peekFirst();
        while (task != null && task.getTransactionState().isReadOnly()) {
            task.getTransactionState().setDone();
            flush(task.getTxnId());
            task = m_backlog.peekFirst();
        }
    }
public synchronized void removeMPReadTransactions ( ) { TransactionTask task = m_backlog . peekFirst ( ) ; while ( task != null && task . getTransactionState ( ) . isReadOnly ( ) ) { task . getTransactionState ( ) . setDone ( ) ; flush ( task . getTxnId ( ) ) ; task = m_backlog . peekFirst ( ) ; } }
flush mp readonly transactions out of backlog