|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Journal
Transaction logs journal implementations must implement this interface to provide functionality required by the transaction manager.
| Method Summary | |
|---|---|
void |
close()
Close this journal and release all underlying resources. |
Map |
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,
Set uniqueNames)
Log a new transaction status to journal. |
void |
open()
Open the journal. |
| Methods inherited from interface bitronix.tm.utils.Service |
|---|
shutdown |
| Method Detail |
|---|
void log(int status,
Uid gtrid,
Set uniqueNames)
throws IOException
status - transaction status to log.gtrid - GTRID of the transaction.uniqueNames - unique names of the RecoverableXAResourceProducers participating in the transaction.
IOException - if an I/O error occurs.
void open()
throws IOException
IOException - if an I/O error occurs.
void close()
throws IOException
IOException - if an I/O error occurs.
void force()
throws IOException
IOException - if an I/O error occurs.
Map collectDanglingRecords()
throws IOException
TransactionLogRecord as value
IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||