public class NullRepository extends Object implements Repository
| Constructor and Description |
|---|
NullRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<PendingTransactionRecord> |
findAllCommittingCoordinatorLogEntries() |
PendingTransactionRecord |
get(String coordinatorId) |
Collection<PendingTransactionRecord> |
getAllCoordinatorLogEntries() |
void |
init() |
void |
put(String id,
PendingTransactionRecord pendingTransactionRecord) |
void |
writeCheckpoint(Collection<PendingTransactionRecord> checkpointContent) |
public void init()
throws LogException
init in interface RepositoryLogExceptionpublic void put(String id, PendingTransactionRecord pendingTransactionRecord) throws LogWriteException
put in interface RepositoryLogWriteExceptionpublic PendingTransactionRecord get(String coordinatorId) throws LogReadException
get in interface RepositoryLogReadExceptionpublic Collection<PendingTransactionRecord> findAllCommittingCoordinatorLogEntries() throws LogReadException
findAllCommittingCoordinatorLogEntries in interface RepositoryLogReadExceptionpublic Collection<PendingTransactionRecord> getAllCoordinatorLogEntries() throws LogReadException
getAllCoordinatorLogEntries in interface RepositoryLogReadExceptionpublic void writeCheckpoint(Collection<PendingTransactionRecord> checkpointContent) throws LogWriteException
writeCheckpoint in interface RepositoryLogWriteExceptionpublic void close()
close in interface RepositoryCopyright © 2026. All rights reserved.