|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void begin(Xid xid) throws LogException
LogException
public Object prepare(Xid xid, List branches) throws LogException
xid
- global xid for the transactionsbranches
- List of TransactionBranchInfo
LogException
public void commit(Xid xid, Object logMark) throws LogException
LogException
public void rollback(Xid xid, Object logMark) throws LogException
LogException
public Collection recover(XidFactory xidFactory) throws LogException
xidFactory
-
LogException
public String getXMLStats()
public int getAverageForceTime()
public int getAverageBytesPerForce()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |