public static interface TransactionAssistanceFactory.CommitRollbackRecoveryCallback
| Modifier and Type | Interface and Description |
|---|---|
static class |
TransactionAssistanceFactory.CommitRollbackRecoveryCallback.Builder
Builder enabling use of Java 8 SAMs
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit(String txid)
The container will call this function
to commit a transaction that was successful.
|
String[] |
getTransactionsInNeedOfRecovery()
The container will call this function during
recovery which should call the EIS and must return
transaction IDs which are known to be incomplete (not
yet committed or rolled back).
|
void |
rollback(String txid)
The container will call this function
to rollback an unsuccessful transaction.
|
String[] getTransactionsInNeedOfRecovery()
void commit(String txid) throws Exception
ExceptionCopyright © 2015 Ant Kutschera. All rights reserved.