public class RecoveryLogImp extends java.lang.Object implements RecoveryLog, AdminLog
| Constructor and Description |
|---|
RecoveryLogImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(long maxWaitTime) |
protected ParticipantLogEntry |
createSubTransactionCoordinatorParticipant(CoordinatorLogEntry subTransaction) |
java.util.Collection<ParticipantLogEntry> |
getCommittingParticipants() |
CoordinatorLogEntry[] |
getCoordinatorLogEntries() |
void |
presumedAborting(ParticipantLogEntry entry) |
void |
remove(java.lang.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 java.util.Collection<ParticipantLogEntry> getCommittingParticipants() throws LogReadException
getCommittingParticipants in interface RecoveryLogLogReadExceptionpublic void presumedAborting(ParticipantLogEntry entry) throws java.lang.IllegalStateException, LogException
presumedAborting in interface RecoveryLogjava.lang.IllegalStateExceptionLogExceptionpublic 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 remove(java.lang.String coordinatorId)
public void close(long maxWaitTime)
close in interface RecoveryLogCopyright © 2018. All Rights Reserved.