|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionLog
Interface used to notify a logging subsystem of transaction events.
| Method Summary | |
|---|---|
void |
begin(javax.transaction.xa.Xid xid)
|
void |
commit(javax.transaction.xa.Xid xid,
java.lang.Object logMark)
|
int |
getAverageBytesPerForce()
|
int |
getAverageForceTime()
|
java.lang.String |
getXMLStats()
|
java.lang.Object |
prepare(javax.transaction.xa.Xid xid,
java.util.List<? extends TransactionBranchInfo> branches)
log prepare for the global xid xid and the list of TransactionBranchInfo branches |
java.util.Collection<Recovery.XidBranchesPair> |
recover(XidFactory xidFactory)
Recovers the log, returning a map of (top level) xid to List of TransactionBranchInfo for the branches. |
void |
rollback(javax.transaction.xa.Xid xid,
java.lang.Object logMark)
|
| Method Detail |
|---|
void begin(javax.transaction.xa.Xid xid)
throws LogException
LogException
java.lang.Object prepare(javax.transaction.xa.Xid xid,
java.util.List<? extends TransactionBranchInfo> branches)
throws LogException
xid - global xid for the transactionsbranches - List of TransactionBranchInfo
LogException - on error
void commit(javax.transaction.xa.Xid xid,
java.lang.Object logMark)
throws LogException
LogException
void rollback(javax.transaction.xa.Xid xid,
java.lang.Object logMark)
throws LogException
LogException
java.util.Collection<Recovery.XidBranchesPair> recover(XidFactory xidFactory)
throws LogException
xidFactory - Xid factory
LogException - on errorjava.lang.String getXMLStats()
int getAverageForceTime()
int getAverageBytesPerForce()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||