|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbitronix.tm.journal.NullJournal
public class NullJournal
No-op journal. Do not use for anything else than testing as the transaction manager cannot guarantee data integrity with this journal implementation.
| Constructor Summary | |
|---|---|
NullJournal()
|
|
| Method Summary | |
|---|---|
void |
close()
Close this journal and release all underlying resources. |
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,
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NullJournal()
| Method Detail |
|---|
public void log(int status,
Uid gtrid,
Set<String> uniqueNames)
throws IOException
Journal
log 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
Journal
open in interface JournalIOException - if an I/O error occurs.
public void close()
throws IOException
Journal
close in interface JournalIOException - if an I/O error occurs.
public void force()
throws IOException
Journal
force in interface JournalIOException - if an I/O error occurs.
public Map<Uid,TransactionLogRecord> collectDanglingRecords()
throws IOException
Journal
collectDanglingRecords in interface JournalTransactionLogRecord as value
IOException - if an I/O error occurs.public void shutdown()
Service
shutdown in interface Servicepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||