public interface Journal extends Service
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this journal and release all underlying resources.
|
java.util.Map<Uid,TransactionLogRecord> |
collectDanglingRecords()
Collect all dangling records of the journal, ie: COMMITTING records with no corresponding COMMITTED record.
|
void |
force()
Force journal to synchronize with permanent storage.
|
void |
log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
Log a new transaction status to journal.
|
void |
open()
Open the journal.
|
void log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
throws java.io.IOException
status - transaction status to log.gtrid - GTRID of the transaction.uniqueNames - unique names of the RecoverableXAResourceProducers participating in the transaction.java.io.IOException - if an I/O error occurs.void open() throws java.io.IOException
java.io.IOException - if an I/O error occurs.void close()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.void force()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.java.util.Map<Uid,TransactionLogRecord> collectDanglingRecords() throws java.io.IOException
TransactionLogRecord as valuejava.io.IOException - if an I/O error occurs.Copyright © 2006-2021 Bitronix Software. All Rights Reserved.