Package lumis.portal.structure.sync
Interface ParallelExecutor.ITransactionFactory
-
- Enclosing class:
- ParallelExecutor
public static interface ParallelExecutor.ITransactionFactory
ProvidesITransaction
instances.- Since:
- 6.2.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static ParallelExecutor.ITransactionFactory
READ_ONLY_TRANSACTION_FACTORY
A transaction factory that returns transactions optimized for read-only use.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITransaction
createTransaction()
Creates a transaction and returns it.
-
-
-
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 bedisposed
properly.- Returns:
- a started transaction.
- Throws:
PortalException
- if could not create the transaction.- Since:
- 6.2.0
-
-