Interface ParallelExecutor.ITransactionFactory

  • Enclosing class:
    ParallelExecutor

    public static interface ParallelExecutor.ITransactionFactory
    Provides ITransaction instances.
    Since:
    6.2.0
    Version:
    $Revision$ $Date$
    • Field Detail

      • READ_ONLY_TRANSACTION_FACTORY

        static final ParallelExecutor.ITransactionFactory READ_ONLY_TRANSACTION_FACTORY
        A transaction factory that returns transactions optimized for read-only use. The transactions returned by this factory may not work properly for write operations.
        Since:
        6.2.0
    • Method Detail

      • createTransaction

        ITransaction createTransaction()
                                throws PortalException
        Creates a transaction and returns it. The transaction is already started. It must be disposed properly.
        Returns:
        a started transaction.
        Throws:
        PortalException - if could not create the transaction.
        Since:
        6.2.0