public class RecoveryLogImp extends Object implements RecoveryLog, AdminLog
| Constructor and Description |
|---|
RecoveryLogImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(long maxWaitTime) |
protected ParticipantLogEntry |
createSubTransactionCoordinatorParticipant(CoordinatorLogEntry subTransaction) |
Collection<ParticipantLogEntry> |
getCommittingParticipants() |
CoordinatorLogEntry[] |
getCoordinatorLogEntries() |
void |
presumedAborting(ParticipantLogEntry entry) |
void |
remove(String coordinatorId) |
void |
setRepository(Repository repository) |
void |
terminated(ParticipantLogEntry entry) |
void |
terminatedWithHeuristicCommit(ParticipantLogEntry entry) |
void |
terminatedWithHeuristicHazard(ParticipantLogEntry entry) |
void |
terminatedWithHeuristicMixed(ParticipantLogEntry entry) |
void |
terminatedWithHeuristicRollback(ParticipantLogEntry entry) |
protected void |
terminateParentTx(CoordinatorLogEntry coordinatorLogEntry) |
public void setRepository(Repository repository)
public void terminated(ParticipantLogEntry entry)
terminated in interface RecoveryLogprotected void terminateParentTx(CoordinatorLogEntry coordinatorLogEntry) throws LogReadException, LogWriteException
LogReadExceptionLogWriteExceptionprotected ParticipantLogEntry createSubTransactionCoordinatorParticipant(CoordinatorLogEntry subTransaction)
public void terminatedWithHeuristicRollback(ParticipantLogEntry entry) throws LogException
terminatedWithHeuristicRollback in interface RecoveryLogLogExceptionpublic Collection<ParticipantLogEntry> getCommittingParticipants() throws LogReadException
getCommittingParticipants in interface RecoveryLogLogReadExceptionpublic void presumedAborting(ParticipantLogEntry entry) throws IllegalStateException, LogException
presumedAborting in interface RecoveryLogIllegalStateExceptionLogExceptionpublic void terminatedWithHeuristicCommit(ParticipantLogEntry entry) throws LogException
terminatedWithHeuristicCommit in interface RecoveryLogLogExceptionpublic void terminatedWithHeuristicHazard(ParticipantLogEntry entry)
terminatedWithHeuristicHazard in interface RecoveryLogpublic void terminatedWithHeuristicMixed(ParticipantLogEntry entry) throws LogException
terminatedWithHeuristicMixed in interface RecoveryLogLogExceptionpublic CoordinatorLogEntry[] getCoordinatorLogEntries()
getCoordinatorLogEntries in interface AdminLogpublic void close(long maxWaitTime)
close in interface RecoveryLogCopyright © 2016. All Rights Reserved.