![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.file.Logger:

Definition at line 52 of file Logger.java.
Public Member Functions | |
| void | init (Log log, boolean create, Properties props) throws IOException |
| Initialization. | |
Package Functions | |
| void | sync () throws IOException |
| Make it so. | |
| void | checkpoint () throws IOException |
| Checkpoint. | |
| void | close () throws IOException |
| Dismissed. | |
| void | reset () throws IOException |
| Reset the entire log to be empty. | |
| long | getOldestTransaction () |
| Return the id of the oldest active transaction. | |
| int | getActiveTransactionCount () |
| Return the number of active transactions. | |
| LongMap | getActiveTransactions () |
| Return a map containing the active transaction ids as keys. | |
| void | put (LogEntry op) throws IOException |
| Write a single op to the buffer. | |
| void | setRedoState (LogEntry op, int state) throws IOException |
| Set the 'redo' value for the most recently read LogEntry. | |
| LogEntry | getLastOp (long t) throws IOException |
| Return the last op in the log for the specified transaction. | |
| LogEntry | getPrevOp (LogEntry op) throws IOException |
| Return the preceding op (of the same transaction). | |
| LogEntry | getFirstOp () throws IOException |
| Return the first op in the log. | |
| LogEntry | getNextOp () throws IOException |
| Return the next op. | |
| int | getCheckpoint () |
| Return the position of the last checkpoint. | |
| int | getEnd () |
| Return the end position of the log buffer. | |
|
|
Checkpoint.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyCheckpoint(). |
|
|
Dismissed.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log2.close(). |
|
|
Return the number of active transactions.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.maybeCheckpoint(), and com.quadcap.sql.file.Log1.reallyCheckpoint(). |
|
|
Return a map containing the active transaction ids as keys.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyCheckpoint(). |
|
|
Return the position of the last checkpoint.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRestart(). |
|
|
Return the end position of the log buffer.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRestart(). |
|
|
Return the first op in the log.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRestart(), and com.quadcap.sql.file.Log1.scanLog(). |
|
|
Return the last op in the log for the specified transaction.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRollbackStatement(), and com.quadcap.sql.file.Log1.reallyRollbackTransaction(). |
|
|
Return the next op.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRestart(), and com.quadcap.sql.file.Log1.scanLog(). |
|
|
Return the id of the oldest active transaction.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.abortOldestTransaction(). |
|
|
Return the preceding op (of the same transaction).
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRestart(), com.quadcap.sql.file.Log1.reallyRollbackStatement(), and com.quadcap.sql.file.Log1.reallyRollbackTransaction(). |
|
||||||||||||||||
|
Initialization.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.init(). |
|
|
Write a single op to the buffer.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyAddEntry(). |
|
|
Reset the entire log to be empty.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.abortOldestTransaction(), com.quadcap.sql.file.Log1.reallyCheckpoint(), and com.quadcap.sql.file.Log1.reallyRestart(). |
|
||||||||||||
|
Set the 'redo' value for the most recently read LogEntry.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyRollbackStatement(), and com.quadcap.sql.file.Log1.reallyRollbackTransaction(). |
|
|
Make it so.
Implemented in com.quadcap.sql.file.Logger1. Referenced by com.quadcap.sql.file.Log1.reallyCheckpoint(), com.quadcap.sql.file.Log1.reallyFlush(), and com.quadcap.sql.file.Log1.reallyRestart(). |