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

Definition at line 56 of file Log2.java.
Public Member Functions | |
| void | init (Datafile db, boolean create, Properties props) throws IOException |
| Initialize the logging subsystem. | |
| void | start () |
| Start the logging subsystem. | |
| void | addEntry (LogEntry entry) throws IOException |
| Add a transaction's log record to the end of the open log file. | |
| void | reallyAddEntry (LogEntry entry) throws IOException |
| XXX why public? | |
| void | close () throws IOException |
| Flush and close the log file. | |
| void | flushLog () throws IOException |
| Flush all log records to disk. | |
| void | checkpoint () throws IOException |
| Perform a checkpoint operation. | |
| void | sync () throws IOException |
| Wait for all queued ops to be processed by the log sync thread. | |
| void | rollbackTransaction (Transaction trans) throws IOException |
| Transaction rollback. | |
| void | rollbackStatement (Transaction trans, int stmtId) throws IOException |
| Statement rollback. | |
| void | restart () throws Exception |
| Restart from a previous state. | |
|
|
Add a transaction's log record to the end of the open log file.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 75 of file Log2.java. References com.quadcap.sql.file.Log2.addEntry(). Referenced by com.quadcap.sql.file.Log2.addEntry(). |
|
|
Perform a checkpoint operation.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 114 of file Log2.java. References com.quadcap.sql.file.Log1.reallyCheckpoint(). |
|
|
Flush and close the log file.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 93 of file Log2.java. References com.quadcap.sql.file.Logger.close(), and com.quadcap.sql.file.Log1.reallyClose(). |
|
|
Flush all log records to disk.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 104 of file Log2.java. References com.quadcap.sql.file.Log1.maybeCheckpoint(), and com.quadcap.sql.file.Log1.reallyFlush(). |
|
||||||||||||||||
|
Initialize the logging subsystem.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 61 of file Log2.java. References com.quadcap.sql.file.Log2.init(). Referenced by com.quadcap.sql.file.Log2.init(). |
|
|
XXX why public?
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 84 of file Log2.java. References com.quadcap.sql.file.Log2.reallyAddEntry(). Referenced by com.quadcap.sql.file.Log2.reallyAddEntry(). |
|
|
Restart from a previous state.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 160 of file Log2.java. References com.quadcap.sql.file.Log1.reallyRestart(). |
|
||||||||||||
|
Statement rollback.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 145 of file Log2.java. References com.quadcap.sql.file.Log2.rollbackStatement(). Referenced by com.quadcap.sql.file.Log2.rollbackStatement(). |
|
|
Transaction rollback.
Reimplemented from com.quadcap.sql.file.Log1. Definition at line 132 of file Log2.java. References com.quadcap.sql.file.Log2.rollbackTransaction(). Referenced by com.quadcap.sql.file.Log2.rollbackTransaction(). |
|
|
Start the logging subsystem.
Reimplemented from com.quadcap.sql.file.Log1. |
|
|
Wait for all queued ops to be processed by the log sync thread.
Reimplemented from com.quadcap.sql.file.Log1. |