public class JDBCRecoveryLog extends Object implements RemotingRecoveryLog, OltpLog
| Constructor and Description |
|---|
JDBCRecoveryLog(DataSource ds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closed() |
void |
closing() |
boolean |
containsRecordsForDomain(String recoveryDomainName) |
void |
forget(String coordinatorId) |
void |
forgetRemoteParticipantLogEntry(RemoteParticipantLogEntry participant) |
void |
forgetTransactionRecords(Collection<PendingTransactionRecord> coordinators) |
PendingTransactionRecord |
get(String coordinatorId) |
Collection<PendingTransactionRecord> |
getExpiredPendingCommittingTransactionRecordsAt(long time) |
Collection<PendingTransactionRecord> |
getIndoubtTransactionRecords() |
Collection<PendingTransactionRecord> |
getPendingTransactionRecords() |
Collection<RemoteParticipantLogEntry> |
getRemoteParticipantLogEntries() |
void |
init() |
boolean |
isActive() |
void |
recordAsCommitting(String coordinatorId) |
void |
write(PendingTransactionRecord record) |
public JDBCRecoveryLog(DataSource ds)
public void init()
public Collection<PendingTransactionRecord> getExpiredPendingCommittingTransactionRecordsAt(long time) throws LogReadException
getExpiredPendingCommittingTransactionRecordsAt in interface RecoveryLogLogReadExceptionpublic Collection<PendingTransactionRecord> getIndoubtTransactionRecords() throws LogReadException
getIndoubtTransactionRecords in interface RecoveryLogLogReadExceptionpublic boolean isActive()
isActive in interface RecoveryLogpublic void forgetTransactionRecords(Collection<PendingTransactionRecord> coordinators)
forgetTransactionRecords in interface RecoveryLogpublic void recordAsCommitting(String coordinatorId) throws LogException
recordAsCommitting in interface RecoveryLogLogExceptionpublic void forget(String coordinatorId)
forget in interface RecoveryLogpublic PendingTransactionRecord get(String coordinatorId) throws LogReadException
get in interface RecoveryLogLogReadExceptionpublic void write(PendingTransactionRecord record) throws LogWriteException
write in interface OltpLogLogWriteExceptionpublic void closing()
closing in interface RecoveryLogpublic void closed()
closed in interface RecoveryLogpublic Collection<PendingTransactionRecord> getPendingTransactionRecords() throws LogReadException
getPendingTransactionRecords in interface RecoveryLogLogReadExceptionpublic Collection<RemoteParticipantLogEntry> getRemoteParticipantLogEntries() throws LogReadException
getRemoteParticipantLogEntries in interface RemotingRecoveryLogLogReadExceptionpublic void forgetRemoteParticipantLogEntry(RemoteParticipantLogEntry participant)
forgetRemoteParticipantLogEntry in interface RemotingRecoveryLogpublic boolean containsRecordsForDomain(String recoveryDomainName)
containsRecordsForDomain in interface RemotingRecoveryLogCopyright © 2026. All rights reserved.