public class RecoveryLogImp extends java.lang.Object implements RecoveryLog
| Constructor and Description |
|---|
RecoveryLogImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
closed() |
void |
closing() |
void |
forget(java.lang.String coordinatorId) |
void |
forgetTransactionRecords(java.util.Collection<PendingTransactionRecord> coordinators) |
PendingTransactionRecord |
get(java.lang.String coordinatorId) |
java.util.Collection<PendingTransactionRecord> |
getExpiredPendingCommittingTransactionRecordsAt(long time) |
java.util.Collection<PendingTransactionRecord> |
getIndoubtTransactionRecords() |
java.util.Collection<PendingTransactionRecord> |
getPendingTransactionRecords() |
boolean |
isActive() |
void |
recordAsCommitting(java.lang.String coordinatorId) |
void |
setRepository(Repository repository) |
public void setRepository(Repository repository)
public java.util.Collection<PendingTransactionRecord> getPendingTransactionRecords() throws LogReadException
getPendingTransactionRecords in interface RecoveryLogLogReadExceptionpublic void closing()
closing in interface RecoveryLogpublic java.util.Collection<PendingTransactionRecord> getExpiredPendingCommittingTransactionRecordsAt(long time) throws LogReadException
getExpiredPendingCommittingTransactionRecordsAt in interface RecoveryLogLogReadExceptionpublic java.util.Collection<PendingTransactionRecord> getIndoubtTransactionRecords() throws LogReadException
getIndoubtTransactionRecords in interface RecoveryLogLogReadExceptionpublic boolean isActive()
isActive in interface RecoveryLogpublic void forgetTransactionRecords(java.util.Collection<PendingTransactionRecord> coordinators)
forgetTransactionRecords in interface RecoveryLogpublic void recordAsCommitting(java.lang.String coordinatorId)
throws LogException
recordAsCommitting in interface RecoveryLogLogExceptionpublic void forget(java.lang.String coordinatorId)
forget in interface RecoveryLogpublic PendingTransactionRecord get(java.lang.String coordinatorId) throws LogReadException
get in interface RecoveryLogLogReadExceptionpublic void closed()
closed in interface RecoveryLogCopyright © 2020. All Rights Reserved.