org.objectweb.howl.log.xa
Class XALogRecord

java.lang.Object
  extended byorg.objectweb.howl.log.LogRecord
      extended byorg.objectweb.howl.log.xa.XALogRecord

public class XALogRecord
extends LogRecord

Extends LogRecord with members that are specific to XALogger.

Allows XALogger to provide a reference to an activeTx entry associated with the log record to the calling TM.

Author:
Michael Giroux

Field Summary
 
Fields inherited from class org.objectweb.howl.log.LogRecord
data, dataBuffer, fields, key, length, tod, type
 
Constructor Summary
XALogRecord(int size)
          constructs an instance of XALogRecord with a byte[] of size data.
 
Method Summary
 XACommittingTx getTx()
           
 boolean isCommit()
           
 
Methods inherited from class org.objectweb.howl.log.LogRecord
capacity, get, getFields, isCTRL, isEOB, setFilterCtrlRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XALogRecord

public XALogRecord(int size)
constructs an instance of XALogRecord with a byte[] of size data.

Parameters:
size - initial size of data buffer.

the get() method will reallocate the data buffer to accomdate larger records.

Method Detail

getTx

public XACommittingTx getTx()
Returns:
Returns the XACommittingTx of this XALogRecord.

isCommit

public boolean isCommit()
Returns:
true if the current record is an XACOMMIT type.


Copyright © 2003-2007 HOWL Development Team. All Rights Reserved.