| Constructor and Description |
|---|
NullJournal() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this journal and release all underlying resources.
|
Map<Uid,JournalRecord> |
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<String> uniqueNames)
Log a new transaction status to journal.
|
void |
open()
Open the journal.
|
void |
shutdown()
Shutdown the service and free all held resources.
|
String |
toString() |
public void log(int status,
Uid gtrid,
Set<String> uniqueNames)
throws IOException
Journallog in interface Journalstatus - 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.public void open()
throws IOException
Journalopen in interface JournalIOException - if an I/O error occurs.public void close()
throws IOException
Journalclose in interface JournalIOException - if an I/O error occurs.public void force()
throws IOException
Journalforce in interface JournalIOException - if an I/O error occurs.public Map<Uid,JournalRecord> collectDanglingRecords() throws IOException
JournalcollectDanglingRecords in interface JournalJournalRecord as value.IOException - if an I/O error occurs.public void shutdown()
ServiceCopyright © 2006-2016 Bitronix Software. All Rights Reserved.