h2/src/main/org/h2/mvstore/db/TransactionStore.java
/**
     * Store a transaction.
     *
     * @param t the transaction
     */
Store a transaction.
@param t the transaction
Store a transaction . @param t the transaction
synchronized void storeTransaction(Transaction t) {
        if (t.getStatus() == Transaction.STATUS_PREPARED || t.getName() != null) {
            Object[] v = { t.getStatus(), t.getName() };
            preparedTransactions.put(t.getId(), v);
        }
    }
synchronized void storeTransaction ( Transaction t ) { if ( t . getStatus ( ) == Transaction . STATUS_PREPARED || t . getName ( ) != null ) { Object [ ] v = { t . getStatus ( ) , t . getName ( ) } ; preparedTransactions . put ( t . getId ( ) , v ) ; } }
Store a transaction.
Store a transaction .