com.atomikos.recovery.imp
Class RecoveryLogImp
java.lang.Object
com.atomikos.recovery.imp.RecoveryLogImp
- All Implemented Interfaces:
- AdminLog, RecoveryLog
public class RecoveryLogImp
- extends Object
- implements RecoveryLog, AdminLog
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoveryLogImp
public RecoveryLogImp()
setRepository
public void setRepository(Repository repository)
terminated
public void terminated(ParticipantLogEntry entry)
- Specified by:
terminated in interface RecoveryLog
terminateParentTx
protected void terminateParentTx(CoordinatorLogEntry coordinatorLogEntry)
throws LogReadException,
LogWriteException
- Throws:
LogReadException
LogWriteException
createSubTransactionCoordinatorParticipant
protected ParticipantLogEntry createSubTransactionCoordinatorParticipant(CoordinatorLogEntry subTransaction)
terminatedWithHeuristicRollback
public void terminatedWithHeuristicRollback(ParticipantLogEntry entry)
throws LogException
- Specified by:
terminatedWithHeuristicRollback in interface RecoveryLog
- Throws:
LogException
getCommittingParticipants
public Collection<ParticipantLogEntry> getCommittingParticipants()
throws LogReadException
- Specified by:
getCommittingParticipants in interface RecoveryLog
- Throws:
LogReadException
presumedAborting
public void presumedAborting(ParticipantLogEntry entry)
throws IllegalStateException,
LogException
- Specified by:
presumedAborting in interface RecoveryLog
- Throws:
IllegalStateException
LogException
terminatedWithHeuristicCommit
public void terminatedWithHeuristicCommit(ParticipantLogEntry entry)
throws LogException
- Specified by:
terminatedWithHeuristicCommit in interface RecoveryLog
- Throws:
LogException
terminatedWithHeuristicHazard
public void terminatedWithHeuristicHazard(ParticipantLogEntry entry)
- Specified by:
terminatedWithHeuristicHazard in interface RecoveryLog
terminatedWithHeuristicMixed
public void terminatedWithHeuristicMixed(ParticipantLogEntry entry)
throws LogException
- Specified by:
terminatedWithHeuristicMixed in interface RecoveryLog
- Throws:
LogException
getCoordinatorLogEntries
public CoordinatorLogEntry[] getCoordinatorLogEntries()
- Specified by:
getCoordinatorLogEntries in interface AdminLog
remove
public void remove(String coordinatorId)
- Specified by:
remove in interface AdminLog
close
public void close(long maxWaitTime)
- Specified by:
close in interface RecoveryLog
Copyright © 2016. All Rights Reserved.