Class UnrecoverableLog

  • All Implemented Interfaces:
    TransactionLog

    public class UnrecoverableLog
    extends java.lang.Object
    implements TransactionLog
    A log sink that doesn't actually do anything. Not recommended for production use as heuristic recovery will be needed if the transaction coordinator dies.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void begin​(javax.transaction.xa.Xid xid)  
      void commit​(javax.transaction.xa.Xid xid, java.lang.Object logMark)  
      int getAverageBytesPerForce()  
      int getAverageForceTime()  
      java.lang.String getXMLStats()  
      java.lang.Object prepare​(javax.transaction.xa.Xid xid, java.util.List<? extends TransactionBranchInfo> branches)
      log prepare for the global xid xid and the list of TransactionBranchInfo branches
      java.util.Collection recover​(XidFactory xidFactory)
      Recovers the log, returning a map of (top level) xid to List of TransactionBranchInfo for the branches.
      void rollback​(javax.transaction.xa.Xid xid, java.lang.Object logMark)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnrecoverableLog

        public UnrecoverableLog()