| Constructor and Description |
|---|
NullJournal() |
| 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 |
shutdown()
Shutdown the service and free all held resources.
|
java.lang.String |
toString() |
public void log(int status,
Uid gtrid,
java.util.Set<java.lang.String> uniqueNames)
throws java.io.IOException
Journalpublic void open()
throws java.io.IOException
Journalpublic void close()
throws java.io.IOException
Journalpublic void force()
throws java.io.IOException
Journalpublic java.util.Map<Uid,TransactionLogRecord> collectDanglingRecords() throws java.io.IOException
JournalcollectDanglingRecords in interface JournalTransactionLogRecord as valuejava.io.IOException - if an I/O error occurs.public void shutdown()
Servicepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2006-2022 Bitronix Software. All Rights Reserved.