|
||||||||||
| 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(Xid xid)
|
void |
commit(Xid xid,
Object logMark)
|
int |
getAverageBytesPerForce()
|
int |
getAverageForceTime()
|
String |
getXMLStats()
|
Object |
prepare(Xid xid,
List branches)
log prepare for the global xid xid and the list of TransactionBranchInfo branches |
Collection |
recover(XidFactory xidFactory)
Recovers the log, returning a map of (top level) xid to List of TransactionBranchInfo for the branches. |
void |
rollback(Xid xid,
Object logMark)
|
| Method Detail |
|---|
void begin(Xid xid)
throws LogException
LogException
Object prepare(Xid xid,
List branches)
throws LogException
xid - global xid for the transactionsbranches - List of TransactionBranchInfo
LogException
void commit(Xid xid,
Object logMark)
throws LogException
LogException
void rollback(Xid xid,
Object logMark)
throws LogException
LogException
Collection recover(XidFactory xidFactory)
throws LogException
xidFactory -
LogExceptionString getXMLStats()
int getAverageForceTime()
int getAverageBytesPerForce()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||