org.apache.derby.impl.store.logical
Class LogicalTransaction

java.lang.Object
  extended byorg.apache.derby.impl.store.logical.LogicalTransaction

public class LogicalTransaction
extends java.lang.Object

Used by the Hot Standby Controller to create logical transactions

Author:
egil

Field Summary
static int RUNNING
           
static int STATUS_ABORTED
           
static int STATUS_COMMITTED
           
 
Constructor Summary
LogicalTransaction(int transId)
           
 
Method Summary
 void addOperation(LogicalLoggable op)
           
 java.util.ArrayList getOperations()
           
 int getStatus()
           
 int getTransId()
           
 void setStatus(int status)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS_COMMITTED

public static final int STATUS_COMMITTED
See Also:
Constant Field Values

STATUS_ABORTED

public static final int STATUS_ABORTED
See Also:
Constant Field Values

RUNNING

public static final int RUNNING
See Also:
Constant Field Values
Constructor Detail

LogicalTransaction

public LogicalTransaction(int transId)
Method Detail

addOperation

public void addOperation(LogicalLoggable op)

getOperations

public java.util.ArrayList getOperations()

getTransId

public int getTransId()

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

toString

public java.lang.String toString()