org.apache.derby.impl.store.logical.log
Class LogicalLogRecord

java.lang.Object
  extended byorg.apache.derby.impl.store.logical.log.LogicalLogRecord
All Implemented Interfaces:
java.io.Serializable

public class LogicalLogRecord
extends java.lang.Object
implements java.io.Serializable

The implementation of a Logical Log Record

Author:
Egil S¿rensen
See Also:
LogicalLogger, Serialized Form

Constructor Summary
LogicalLogRecord(int lsn, int prevTransLsn, int transid, LogicalLoggable operation)
          Constructor for creating a logical log record
 
Method Summary
 int getLsn()
          Get the lsn for this log record
 LogicalLoggable getOperation()
           
 int getPrevTransLsn()
          Get prevTransLsn
 int getTransId()
          Get transId
 java.lang.String toString()
          toString, created for debugging purposes, shows the contents of the log record
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalLogRecord

public LogicalLogRecord(int lsn,
                        int prevTransLsn,
                        int transid,
                        LogicalLoggable operation)
Constructor for creating a logical log record

Parameters:
lsn - the lsn of the log record
prevTransLsn - the previous lsn for this transaction
transid - the transaction id of the owner transaction
operation - the operation this log record corresponds to
Method Detail

getLsn

public int getLsn()
Get the lsn for this log record

Returns:
the lsn

getPrevTransLsn

public int getPrevTransLsn()
Get prevTransLsn

Returns:
prevTransLsn

getTransId

public int getTransId()
Get transId

Returns:
transId

toString

public java.lang.String toString()
toString, created for debugging purposes, shows the contents of the log record


getOperation

public LogicalLoggable getOperation()