| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogRecord
The interface implemented by each type of log record.
| Field Summary | |
|---|---|
static int | 
CHECKPOINT
The six different types of log record  | 
static int | 
COMMIT
The six different types of log record  | 
static LogMgr | 
logMgr
 | 
static int | 
ROLLBACK
The six different types of log record  | 
static int | 
SETINT
The six different types of log record  | 
static int | 
SETSTRING
The six different types of log record  | 
static int | 
START
The six different types of log record  | 
| Method Summary | |
|---|---|
 int | 
op()
Returns the log record's type.  | 
 int | 
txNumber()
Returns the transaction id stored with the log record.  | 
 void | 
undo(int txnum)
Undoes the operation encoded by this log record.  | 
 int | 
writeToLog()
Writes the record to the log and returns its LSN.  | 
| Field Detail | 
|---|
static final int CHECKPOINT
static final int START
static final int COMMIT
static final int ROLLBACK
static final int SETINT
static final int SETSTRING
static final LogMgr logMgr
| Method Detail | 
|---|
int writeToLog()
int op()
int txNumber()
void undo(int txnum)
txnum - the id of the transaction that is performing the undo.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||