public interface TransactionLog
| 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<Recovery.XidBranchesPair> |
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) |
void begin(Xid xid) throws LogException
LogExceptionObject prepare(Xid xid, List<? extends TransactionBranchInfo> branches) throws LogException
xid - global xid for the transactionsbranches - List of TransactionBranchInfoLogException - on errorvoid commit(Xid xid, Object logMark) throws LogException
LogExceptionvoid rollback(Xid xid, Object logMark) throws LogException
LogExceptionCollection<Recovery.XidBranchesPair> recover(XidFactory xidFactory) throws LogException
xidFactory - Xid factoryLogException - on errorString getXMLStats()
int getAverageForceTime()
int getAverageBytesPerForce()
Copyright © 2010 - 2020 Adobe. All Rights Reserved