提交 b7fe8ef5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting.

上级 aab00fa3
......@@ -250,7 +250,7 @@ public class MVTableEngine implements TableEngine {
* fill rate, and move chunks next to each other. This will typically
* shrink the database file. Changes are flushed to the file, and old
* chunks are overwritten.
*
*
* @param maxCompactTime the maximum time in milliseconds to compact
*/
public void compactFile(long maxCompactTime) {
......@@ -265,12 +265,12 @@ public class MVTableEngine implements TableEngine {
}
store.compactMoveChunks();
}
/**
* Close the store. Pending changes are persisted. Chunks with a low
* fill rate are compacted, but old chunks are kept for some time, so
* most likely the database file will not shrink.
*
*
* @param maxCompactTime the maximum time in milliseconds to compact
*/
public void close(long maxCompactTime) {
......
......@@ -357,7 +357,7 @@ public class TransactionStore {
store.commit();
}
// to avoid having to store the transaction log,
// if there is no open transaction,
// if there is no open transaction,
// and if there have been many changes, store them now
if (undoLog.isEmpty()) {
int unsaved = store.getUnsavedPageCount();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论