|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.store.logical.log.LogicalLogger
The logical logger is created as a singleton with three differene log services: log, logAndCommit and logAndAbort
Method Summary | |
static LogicalLogger |
getInstance()
Gets an instance of the LogicalLogger. |
void |
log(org.apache.derby.iapi.types.DataValueDescriptor[] oldValue,
org.apache.derby.iapi.types.DataValueDescriptor[] newValue,
org.apache.derby.iapi.types.DataValueDescriptor oldKey,
org.apache.derby.iapi.types.DataValueDescriptor newKey,
java.lang.String tableName,
org.apache.derby.iapi.sql.dictionary.ColumnDescriptor[] columns,
int keyColumnName,
int transactionId,
int operationType)
Main log method, creates a logical log record and adds it to the logical log |
boolean |
logAndAbort(int transactionId)
Writes an abort log record. |
boolean |
logAndCommit(int transactionId)
Writes a commit log record. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static LogicalLogger getInstance()
public void log(org.apache.derby.iapi.types.DataValueDescriptor[] oldValue, org.apache.derby.iapi.types.DataValueDescriptor[] newValue, org.apache.derby.iapi.types.DataValueDescriptor oldKey, org.apache.derby.iapi.types.DataValueDescriptor newKey, java.lang.String tableName, org.apache.derby.iapi.sql.dictionary.ColumnDescriptor[] columns, int keyColumnName, int transactionId, int operationType)
oldValue
- the oldValue of the affected rownewValue
- the newValue of the affected rowoldKey
- the old KeynewKey
- the new KeytableName
- the name of the affected tablecolumns
- a list of columns for this tabletransactionId
- the id of the active transactionoperationType
- the operation typepublic boolean logAndCommit(int transactionId)
transactionId
- The id of the transaction to be committed
public boolean logAndAbort(int transactionId)
transactionId
- The id of the transaction to be committed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |