public class RecoveryLogImp extends Object implements RecoveryLog
| Constructor and Description |
|---|
RecoveryLogImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
closed() |
void |
closing() |
void |
forget(String coordinatorId) |
void |
forgetTransactionRecords(Collection<PendingTransactionRecord> coordinators) |
PendingTransactionRecord |
get(String coordinatorId) |
Collection<PendingTransactionRecord> |
getExpiredPendingCommittingTransactionRecordsAt(long time) |
Collection<PendingTransactionRecord> |
getIndoubtTransactionRecords() |
Collection<PendingTransactionRecord> |
getPendingTransactionRecords() |
boolean |
isActive() |
void |
recordAsCommitting(String coordinatorId) |
void |
setRepository(Repository repository) |
public void setRepository(Repository repository)
public Collection<PendingTransactionRecord> getPendingTransactionRecords() throws LogReadException
getPendingTransactionRecords in interface RecoveryLogLogReadExceptionpublic void closing()
closing in interface RecoveryLogpublic 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 closed()
closed in interface RecoveryLogCopyright © 2023. All rights reserved.