public interface TransactionService
Modifier and Type | Method and Description |
---|---|
TransactionContext |
begin(String threadId) |
void |
begin(TransactionContext context) |
void |
cancelTransactions(String threadId,
boolean requestOnly) |
void |
commit(String threadId) |
void |
commit(String threadId,
XidImpl xid,
boolean onePhase,
boolean singleTM) |
void |
commit(TransactionContext context) |
void |
end(String threadId,
XidImpl xid,
int flags,
boolean singleTM) |
void |
forget(String threadId,
XidImpl xid,
boolean singleTM) |
TransactionContext |
getOrCreateTransactionContext(String threadId) |
Collection<TransactionMetadata> |
getTransactions() |
int |
prepare(String threadId,
XidImpl xid,
boolean singleTM) |
Xid[] |
recover(int flag,
boolean singleTM) |
void |
resume(TransactionContext context) |
void |
rollback(String threadId) |
void |
rollback(String threadId,
XidImpl xid,
boolean singleTM) |
void |
rollback(TransactionContext context) |
void |
start(String threadId,
XidImpl xid,
int flags,
int timeout,
boolean singleTM) |
void |
suspend(TransactionContext context) |
void |
terminateTransaction(String threadId) |
void begin(TransactionContext context) throws XATransactionException
XATransactionException
void commit(TransactionContext context) throws XATransactionException
XATransactionException
void rollback(TransactionContext context) throws XATransactionException
XATransactionException
TransactionContext getOrCreateTransactionContext(String threadId)
void suspend(TransactionContext context) throws XATransactionException
XATransactionException
void resume(TransactionContext context) throws XATransactionException
XATransactionException
TransactionContext begin(String threadId) throws XATransactionException
XATransactionException
void commit(String threadId) throws XATransactionException
XATransactionException
void rollback(String threadId) throws XATransactionException
XATransactionException
void cancelTransactions(String threadId, boolean requestOnly) throws XATransactionException
XATransactionException
int prepare(String threadId, XidImpl xid, boolean singleTM) throws XATransactionException
XATransactionException
void commit(String threadId, XidImpl xid, boolean onePhase, boolean singleTM) throws XATransactionException
XATransactionException
void rollback(String threadId, XidImpl xid, boolean singleTM) throws XATransactionException
XATransactionException
Xid[] recover(int flag, boolean singleTM) throws XATransactionException
XATransactionException
void forget(String threadId, XidImpl xid, boolean singleTM) throws XATransactionException
XATransactionException
void start(String threadId, XidImpl xid, int flags, int timeout, boolean singleTM) throws XATransactionException
XATransactionException
void end(String threadId, XidImpl xid, int flags, boolean singleTM) throws XATransactionException
XATransactionException
Collection<TransactionMetadata> getTransactions()
void terminateTransaction(String threadId) throws AdminException
AdminException
Copyright © 2019. All rights reserved.