lumis.portal.structure.sync
Interface ParallelExecutor.ITransactionFactory

Package class diagram package ParallelExecutor.ITransactionFactory
Enclosing class:
ParallelExecutor

public static interface ParallelExecutor.ITransactionFactory

Provides ITransaction instances.

Since:
6.2.0

Field Summary
static ParallelExecutor.ITransactionFactory READ_ONLY_TRANSACTION_FACTORY
          A transaction factory that returns transactions optimized for read-only use.
 
Method Summary
 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 be disposed properly.

Returns:
a started transaction.
Throws:
PortalException - if could not create the transaction.
Since:
6.2.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.