Interface ParallelExecutor.ITransactionFactory

  • Enclosing class:
    ParallelExecutor

    public static interface ParallelExecutor.ITransactionFactory
    Provides ITransaction instances.
    Since:
    6.2.0
    Version:
    $Revision: 21880 $ $Date: 2018-09-21 17:07:19 -0300 (Fri, 21 Sep 2018) $
    • 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