Class TransactionManager
java.lang.Object
com.infoteria.asteria.flowengine2.execute.TransactionManager
- All Implemented Interfaces:
Transaction
トランザクションマネージャー
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTransaction(ExecuteContext context, Transaction t) トランザクションを追加します。voidcommit(ExecuteContext context) 追加されているすべてのトランザクションをコミットします。getTransactionStr(ExecuteContext context, Xid xid) voidrollback(ExecuteContext context) 追加されているすべてのトランザクションをロールバックします。intsize()現在保持されているトランザクション数を返します。
-
Constructor Details
-
TransactionManager
public TransactionManager()
-
-
Method Details
-
addTransaction
トランザクションを追加します。- Throws:
FlowException
-
commit
追加されているすべてのトランザクションをコミットします。- Specified by:
commitin interfaceTransaction- Throws:
FlowException
-
size
public int size()現在保持されているトランザクション数を返します。 -
rollback
追加されているすべてのトランザクションをロールバックします。- Specified by:
rollbackin interfaceTransaction- Throws:
FlowException
-
getTransactionStr
-