com.caucho.transaction.xalog
Class AbstractXALogStream

java.lang.Object
  extended by com.caucho.transaction.xalog.AbstractXALogStream
Direct Known Subclasses:
XALogStream

public abstract class AbstractXALogStream
extends java.lang.Object

Implements a single log stream. Each log stream has two associated files in order to switch at the end of the file.


Constructor Summary
AbstractXALogStream()
           
 
Method Summary
abstract  void writeTMCommit(XidImpl xid)
          Writes a commit entry to the log file.
abstract  void writeTMFinish(XidImpl xid)
          Writes a finish entry to the log file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXALogStream

public AbstractXALogStream()
Method Detail

writeTMCommit

public abstract void writeTMCommit(XidImpl xid)
Writes a commit entry to the log file.


writeTMFinish

public abstract void writeTMFinish(XidImpl xid)
Writes a finish entry to the log file.