public class UnrecoverableLog extends Object implements TransactionLog
| Constructor and Description |
|---|
UnrecoverableLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(Xid xid) |
void |
commit(Xid xid,
Object logMark) |
int |
getAverageBytesPerForce() |
int |
getAverageForceTime() |
String |
getXMLStats() |
Object |
prepare(Xid xid,
List<? extends TransactionBranchInfo> 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) |
public void begin(Xid xid) throws LogException
begin in interface TransactionLogLogExceptionpublic Object prepare(Xid xid, List<? extends TransactionBranchInfo> branches) throws LogException
TransactionLogprepare in interface TransactionLogxid - global xid for the transactionsbranches - List of TransactionBranchInfoLogException - on errorpublic void commit(Xid xid, Object logMark) throws LogException
commit in interface TransactionLogLogExceptionpublic void rollback(Xid xid, Object logMark) throws LogException
rollback in interface TransactionLogLogExceptionpublic Collection recover(XidFactory xidFactory) throws LogException
TransactionLogrecover in interface TransactionLogxidFactory - Xid factoryLogException - on errorpublic String getXMLStats()
getXMLStats in interface TransactionLogpublic int getAverageForceTime()
getAverageForceTime in interface TransactionLogpublic int getAverageBytesPerForce()
getAverageBytesPerForce in interface TransactionLogCopyright © 2010 - 2020 Adobe. All Rights Reserved